ExternalSim.dll stack overflowexception error

SDK supports Prepar3D’s philosophy of an open development architecture and encourages third parties to bring new innovations with improved add-ons and training content.
Locked
ohhyeju1214
Posts: 5
Joined: Thu Apr 10, 2014 1:48 am

ExternalSim.dll stack overflowexception error

Post by ohhyeju1214 »

Hello~
I have installed the Prepar3D v3 and SDK 3.4.9.18400.
I have copied the entire ESFO folder (..\Samples\ExternalSim\ESFO) to (..\SimObjects\Misc) folder and then launch Prepar3D.
I selected the "Externally Simulated Flying Object (Fast)" and P3Dv3 provides the following error message.
Error message : Process is terminated due to stackoverflowexception.
how can i solve this problem?
Clifton Crane
Lockheed Martin
Posts: 1207
Joined: Tue Sep 25, 2012 2:34 pm

Re: ExternalSim.dll stack overflowexception error

Post by Clifton Crane »

Hello,

Do you see the error if you copy only the EFSO directory into SimObjects\Misc?
Clifton Crane
Prepar3D® Software Engineer Sr.
ohhyeju1214
Posts: 5
Joined: Thu Apr 10, 2014 1:48 am

Re: ExternalSim.dll stack overflowexception error

Post by ohhyeju1214 »

Yes! copy only the EFSO.

ESFO can be run at first.

but P3D is restarted and then error occurs.

I find that P3D can be run after windows7 restore.(registry..???)

I try the build only following code.
SimConnect_Open(&g_hSimConnect, ("ExternalSim"), NULL, 0, NULL, SIMCONNECT_OPEN_CONFIGINDEX_LOCAL);

A error hasn't happened. "SimConnect_Open" is not problem.

Another problem is that debug(printf, OutputDebugString) not show on console.

[simconnect.ini]
level=Verbose
console=1
RedirectStdOutToConsole=1
OutputDebugString=1

What can i try it for solve the problem?
Locked