vchamp
Member
- Joined
- Mar 24, 2008
- Messages
- 221
- Reaction score
- 6
- Points
- 18
Hi! I'm going to fix errors that prevent TI vessels from working with D3D9Client and need help in finding the reason of the following error in Orbiter.log:
The problem is likely in using the oapiMeshGroup() function through which I operate the mesh loaded with oapiLoadMeshGlobal().
What changes should I make to fix this? Where to start searching?
Code:
---------------------------------------------------------------
>>> ERROR: Invalid mesh handle. Returned NULL. (Continuing)
>>> [oapiMeshGroup | .\OrbiterAPI.cpp | 1196]
---------------------------------------------------------------
Orbiter Version 100830
D3D9Client Build [Jul 12 2013]
Exception Code=0xC0000005, Address=0x095B7BE9
EAX=0x00000000 EBX=0x03AD3B50 ECX=0x00000000 EDX=0x0988D9C8 ESI=0x00000000 EDI=0x00000000 EBP=0x09A2BE3C ESP=0x009FF320 EIP=0x095B7BE9
d:\projects\vs\Modules\TotalImmersion\ShuttlePB.dll EntryPoint=0x095BB9D0, Base=0x095B0000, Size=126976
Critical exception in gc->RegisterVisObject(0x988D9C8, 0xBC0FEA8) (PB-01).
VesselClass Name = TotalImmersion\ShuttlePB
!!! Abnormal Program Termination !!!
What changes should I make to fix this? Where to start searching?