- Joined
- Aug 29, 2008
- Messages
- 169
- Reaction score
- 0
- Points
- 16
- Location
- Berlin
- Website
- www.nestadlinn.de
As the topic says.. i'm trying to load the standard planet module dlls like earth.dll and such from an external MSVC++ application using LoadLibrary(). While trying this i discovered that they depend on orbiter.exe and i get a Message Box saying that orbiter.exe couldn't be found when loading the dll. I have tried loading orbiter.exe with LoadLibrary too before loading the dll. Loading the exe succeeds but then i get a 0xC0000005: Access violation when loading the dll. Using dependency walker i found out that the dll uses several library functions from within the orbiter.exe (CELBODY class, CameraMode stuff etc.). I couldn't figure out a way to let the loaded dll access those functions from the orbiter.exe i loaded with LoadLibrary.
I would appreciate any help with this.
I'm planning to make an external navigation tool for orbiter and it would be cool if i could get the ephemerides data directly from the planet modules.
I would appreciate any help with this.
I'm planning to make an external navigation tool for orbiter and it would be cool if i could get the ephemerides data directly from the planet modules.
Last edited: