VS2005express edition linking

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
10,544
Reaction score
4,373
Points
203
Location
Dallas, TX
Any suggestions on this error.


Code:
// DLL cleanup
DLLCLBK void opcDLLExit (HINSTANCE hDLL)
{
    // Unregister the custom function in Orbiter
    oapiUnregisterCustomCmd (g_Param_flat.dwCmd);

    // Unregister custom dialog controls
    oapiUnregisterCustomControls (hDLL);
}


FlatControl.obj : error LNK2019: unresolved external symbol "void __cdecl oapiUnregisterCustomControls(struct HINSTANCE__ *)" (?oapiUnregisterCustomControls@@YAXPAUHINSTANCE__@@@Z) referenced in function _opcDLLExit


This is for a attach/dettach pop up.
 
Back
Top