Download MetaTrader 5

Double Calls to OnInit() and OnDeinit() - page 2

To add comments, please log in or register
mrwayne
252
mrwayne  

I think there's something wrong with INIT_FAILED at OnInit() too ......

int OnInit()
{
   if ( bla bla bla )
   return ( INIT_FAILED ) ;
}



void OnDeInit( const int UninitializeReason() )
{
}

returned INIT_FAILED, but the expert tab doesn't show UninitializeReason = 8 ( REASON_INITFAILED ) .

12
To add comments, please log in or register