|
-
November 6th, 2007, 07:28 AM
#1
Telling the Application, Where to load the DLLs from
Hi,
I have a Win32 GUI application that is a COM client as well. It is built using ATL Static link option. We have build the application using Visual C++ 7.1. I want to ensure that the application should work on all machines it is deployed to. Thus we need to package all DLL the application depends on. I have created an MSI project that package the main project's output + all its dependencies that I am aware of.
Do I also need to package C Runtime library 7.1 with the application ?
Also, If yes, What all files I need to package (ATL71.dll, MSVCR71.dll, MSVCP71.dll, MSVCRT.dll, ...) ?
Without packaging them, I tried to copy the DLL to application install directory- C:\Program Files\<My App>\
Another question, I have is that- How do I force the application to load the VCRT DLL from the current directory, instead of the System32 folder ? I have copied the DLLs (ATL71.dll, MSVCR71.dll, MSVCP71.dll, MSVCRT.dll) to the same folder, where the application is installed and during the application runtime I try to rename these DLLs and succeed as well. This give me an impression that the DLL is not being used by the application. Instead the similar file at System32 folder is being used.
Can some one help with the above 2 questions.
Thanks,
*(Vipul)() ;
(*Vipul)() ; 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|