Prepar3d.exe crashes on load Missile.dll SimObject?

zamirk
Posts: 103
Joined: Mon Jul 21, 2014 8:39 am

Prepar3d.exe crashes on load Missile.dll SimObject?

Postby zamirk » Mon Sep 05, 2016 10:41 am

Hi,
i am trying to use SimObject API, i compiled Missile SimObject Sample in Visual Studio 2013 and place Missile.dll in gauges/Missile.dll and also update dll.xml with new load Missile.dll addone, when i run prepar3d.exe its crashes on load Missile.dll, i don't know why because when i compile Missile sample project its succeeded.
So, how i debug this problem?

Regards,
zamirk

Clifton Crane
Lockheed Martin
Posts: 1021
Joined: Tue Sep 25, 2012 2:34 pm

Re: Prepar3d.exe crashes on load Missile.dll SimObject?

Postby Clifton Crane » Wed Sep 07, 2016 2:59 pm

Zamirk,

Could you post your DLL.xml entry for Missile.dll? Have you set the DLLType property to PDK?

Example:

Code: Select all

<Launch.Addon>
    <Name>Missile</Name>
    <Disabled>False</Disabled>
    <ManualLoad>False</ManualLoad>
    <Path>gauges\Missile.dll</Path>
    <DLLType>PDK</DLLType>
</Launch.Addon>
Clifton Crane
Prepar3D® Software Engineer Sr.

zamirk
Posts: 103
Joined: Mon Jul 21, 2014 8:39 am

Re: Prepar3d.exe crashes on load Missile.dll SimObject?

Postby zamirk » Mon Sep 12, 2016 5:52 am

Hi Clifton,

Sorry, I was away for a while. Yes, I was missing this tag. Now its working.

Thanks for your precious time.

Regards,
Zamirk


Return to “Software Development Kit (SDK) Questions”

Who is online

Users browsing this forum: No registered users and 23 guests