- Joined
- Oct 30, 2009
- Messages
- 14,019
- Reaction score
- 4
- Points
- 0
You need to make "getpartnerid" function a method of your vessel's class (i.e. EAGLE3::getpartnerid).I do get these errors.
.\EAGLE3.cpp(1560) : error C3861: 'GetAttachmentStatus': identifier not found
.\EAGLE3.cpp(1566) : error C2039: 'GetAttachmentCount' : is not a member of 'VESSEL'
C:\orbiter\Orbitersdk\include\VesselAPI.h(24) : see declaration of 'VESSEL'
.\EAGLE3.cpp(1574) : error C2673: 'getpartnerid' : global functions do not have 'this' pointers
.\EAGLE3.cpp(1574) : error C2227: left of '->GetHandle' must point to class/struct/union/generic type