Load MDL app on Application Startup (MS_INITAPPS)

I am facing some issues in Successful loading MDL apps on Startup.

 

I have modified code as below and loaded MDL app.

 

if (strcmp(l_str_argument.c_str(), "MS_INITAPPS") == 0)

{

       mdlSystem_enterGraphics();

 

       mdlInput_sendCommand(CMD_DIALOG_OPENFILE, L"STARTUP", MSInputQueuePos::INPUTQ_HEAD, NULL, 0);

 

       SystemCallback::SetFileSaveFunction(OnFileSaveCallBack);

}

 

 

After executing above code, I am able to get MicroStation window. When I select any file displayed , Application gets crashed.

Parents Reply
  • Hi ,

    Within your original Exception.log, a native code (small) memory dump is listed specific to your issue and along with the exception.log is a very good starting point towards identifying exact issues.

    Since the memory dump is small it can be very helpful for native code issues, though larger full memory dumps may be required if the issue: a.) needs more detailed information, or b.) is Microsoft .NET related (not this/your issue here).

    Can you zip and provide your small memory dump of the issue listed in the exception.log?
    File: C:\Users\RVaratharajan\AppData\Local\Temp\Bentley\MicroStation\10.0.0\MiniDump.dmp

    Please note windbg is a very nice lite-weight and powerful debugger to use, though the Windbg log.txt provided is only showing symbol file loading and not details of the actual exception/crash that occured within the .dmp file (requested above).

    Thank you and HTH,
    Bob



Children