I want to include a 3rd party library (1 .h + 1 .lib) so I do this:
#pragma comment(lib,"library.lib")
and when I compile and run my mod I see some errors about unknown commands and
not found .res files, then I want to call my CON_COMMAND that I just wrote but
it can't be found (doesn't exist) while other commands, including mine are
working
* I put the library.lib in src\lib\public\
* The library.dll is in mymod\bin\
* I tried putting the #pragma in other places
* the whole header with stuff imported from library.lib is contained in extern
"C" { /*stuff here*/ }
* I don't get errors (Visual Studio Express 2005)
other library that I linked with such pragma works fine, but it uses extern "C"
__declspec(dllimport)
I tried changing to that, no luck :/
what might be the problem?
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders