Link to home
Start Free TrialLog in
Avatar of loyaliser
loyaliserFlag for United States of America

asked on

Problem with libraries...

I am implementing some C++ program compiles to a DLL. Within this program I call a function from some library, which I specified the compiler to link to. However, I keep getting this error message during compile time:

Kermit.obj : error LNK2001: unresolved external symbol "int __cdecl broker(struct ETBCB *,char *,char *,char *)" (?broker@@YAHPAUETBCB@@PAD11@Z)

I am using Visual C++ 6.0 and created the project using the Win32 Dynamic Link Library project wizard as an empty project.

I checked and double-checked everything from environment variables, to case sensitivity etc. But it seems as if the problem is related to calling the broker() function, which is ?supposed? to reside in the broker32.lib, which I told the compiler to point to as a library.

Any ideas?
ASKER CERTIFIED SOLUTION
Avatar of chensu
chensu
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of loyaliser

ASKER

Thank you...