Click here to Skip to main content
15,891,942 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi All,
I have created Static DLL in mfc and want to link using LIB files with Dialog based application.
Like,
Providing name of LIB file in Linker command line and execute.

things working good in DEBUG version.

But goes wrong when built in RELEASE version.

It gives me ERROR like,
error LNK2001: unresolved external symbol _FunctionName()
Posted
Updated 30-Dec-11 0:08am
v2

1 solution

Firstly there is no such thing as a static DLL, I assume you mean a static library. Secondly the error message means that either FunctionName() is not defined in the library, or you have not included the library in your Release version project settings.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900