
July 7th, 2004, 12:35 PM
|
|
Registered User
|
|
Join Date: Jul 2004
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Problems with linking DLL
I have a program that I am writing that should work fine i think. I am using visual studio .NET 2003 and have the microsoft platform sdk. This program lnks againts msi.dll because I am using the function MsiGetFileVersion function from msi.dll. I have included msi.h. I have included the platform sdk lib directory under <projectname> Property Pages->linker->General->Additional Library Directories. I have included msi.dll under <projectname> Property Pages->linker->input. It compiles and links fine under debug settings but gives me a lnk1181 error(file cannot be opened) when I switch to release settings. I have fixed both the directories and include files on both of the settings pages(debug and release). The settings pages are identical except for incremental linking which is switched off when you choose release. Please...can someone tell me what the problem is with the project.
|