Did you include the memdebug header file? Adam
--- Gerry Brunelle <[EMAIL PROTECTED]> wrote: > -- > [ Picked text/plain from multipart/alternative ] > Hello, > > I am getting the following link issue when trying to > compile a plugin I am > writing. I have narrowed it down to which line is > causeing it. > > EXPOSE_SINGLE_INTERFACE_GLOBALVAR(Contempt, > IServerPluginCallbacks, > INTERFACEVERSION_ISERVERPLUGINCALLBACKS, > g_Contempt); > > I have the include for engine/iserverplugin.h and > interface.h included in > there as well, but it is still not compiling > correctly. Does anyone have any > suggestions on how to fix this error? > > 1>Linking... > 1>contempt_main.obj : error LNK2019: unresolved > external symbol "public: > __thiscall InterfaceReg::InterfaceReg(void * > (__cdecl*)(void),char const *)" > (??0InterfaceReg@@[EMAIL PROTECTED]@Z) referenced in > function "void __cdecl > `dynamic initializer for > '__g_CreateContemptIServerPluginCallbacks_reg''(void)" > (??__E__g_CreateContemptIServerPluginCallbacks_reg@@YAXXZ) > -- > > _______________________________________________ > To unsubscribe, edit your list preferences, or view > the list archives, please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > -------- Nigredo Studios http://www.nigredostudios.com ____________________________________________________________________________________ TV dinner still cooling? Check out "Tonight's Picks" on Yahoo! TV. http://tv.yahoo.com/ _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

