Click here to Skip to main content
15,889,462 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I create the setup with the serial key & for validation of the key i have written function for validation.
i have all .dll & msi.lib

but i got the error as:
error : unresolved external symbol "unsigned int __stdcall MsiSetPropertyW(unsigned long,wchar_t const *,wchar_t const *)" (?MsiSetPropertyW@@YGIKPB_W0@Z) referenced in function "unsigned int __stdcall VerifyPID(unsigned long)" (?VerifyPID@@YGIK@Z) testdll.obj testdll

so how can i solve the problem?
please reply
Posted
Comments
Nithin Sundar 8-Feb-11 5:52am    
Well linker errors are a bit tricky to solve by others who haven't seen your code so I suppose you might want to take a look at this:

http://support.microsoft.com/kb/138400

1 solution

It's not enough to just have the lib file in the project folder, you also need to specify the lib to the linker as an additional linker library. Have you done that?
 
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