• Log in or sign up for an account here: https://www.sythe.org/login

using external dll

MayhemMadness

Newcomer
Joined
Nov 18, 2009
Sythe Gold
0
Messages
5
I need to use an external dll by including the library for it. I then go call the function in the DLL thats defined in a header file ive included. But I get this error.

1>DllMain.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) int __cdecl CallHTTPScript(char const *,char const *,char const *,char const *,int &)" (__imp_?CallHTTPScript@@YAHPBD000AAH@Z) fatal error LNK1120: 1 unresolved externals

Im not sure what Im missing, both the library and header file are included.
 
Le Monkey
PHP Shit Show 2k26
Potamus
Prove it!
Sythe Awards 2011 Winner
Tier 1 Prizebox
Tortoise Penis
Trole
UWotM8?
Wait, do you not have an Archer rank?
Do you have the line #pragma comment(lib, "libname.lib")?
 
Runescape Gamblingrunescape gambling
Back
Top