AeroSpatial
New member
- Joined
- Aug 2, 2018
- Messages
- 4
- Reaction score
- 0
- Points
- 0
I'm a bit perplexed by the following note in the API documentation for oapiRegisterModule:
"The DLL should not delete the module instance in ExitModule. Orbiter destroys all registered modules automatically
when required."
1. How can Orbiter destroy the module instance, with no knowledge of how it is allocated?
2. At the point that ExitModule is called, what use does Orbiter have for any remaining module instances?
"The DLL should not delete the module instance in ExitModule. Orbiter destroys all registered modules automatically
when required."
1. How can Orbiter destroy the module instance, with no knowledge of how it is allocated?
2. At the point that ExitModule is called, what use does Orbiter have for any remaining module instances?