View Single Post
client21
Senior Member
Join Date: Apr 2013
Old 12-07-2017 , 19:40   Re: 'try' 'cath' not work
Reply With Quote #2

Omg, even this not work:

PHP Code:
bool MyClass::SDK_OnLoad(char *errorsize_t maxlengthbool late)
{
    try { throw(
1); }
    catch (...)
    {
        
g_pSM->LogError(myself"1");
        goto 
stop;
    }
    
stop:
    
g_pSM->LogError(myself"2");
    return 
true;

Result:

Code:
1
Because it old server version or why? idk..

Last edited by client21; 12-07-2017 at 19:42.
client21 is offline