Problem loading dll compiled in VS2005 on exe VS06
-
Hi i have an MFc application which is compiled in Visual studio 6 . I have created a dll that is compiled in VS2005. It works fine on development machine giving me all desired results. But after deploying the exe and dll on Other machine which is meant to be for testing purpose. I copied all the dependent dll in the same folder is required for dll that is compiled on VS2005. But the dll is failed to load using loadlibrary. To solve this issue i created a setup of MSM of Visual studio Merge module and installed on the Testing machine. I was expecting that this will atleast solve my prioblem but it also failed to load dll. Any one has suggestion that how this can be achieved?
-
Hi i have an MFc application which is compiled in Visual studio 6 . I have created a dll that is compiled in VS2005. It works fine on development machine giving me all desired results. But after deploying the exe and dll on Other machine which is meant to be for testing purpose. I copied all the dependent dll in the same folder is required for dll that is compiled on VS2005. But the dll is failed to load using loadlibrary. To solve this issue i created a setup of MSM of Visual studio Merge module and installed on the Testing machine. I was expecting that this will atleast solve my prioblem but it also failed to load dll. Any one has suggestion that how this can be achieved?
-
Hi i have an MFc application which is compiled in Visual studio 6 . I have created a dll that is compiled in VS2005. It works fine on development machine giving me all desired results. But after deploying the exe and dll on Other machine which is meant to be for testing purpose. I copied all the dependent dll in the same folder is required for dll that is compiled on VS2005. But the dll is failed to load using loadlibrary. To solve this issue i created a setup of MSM of Visual studio Merge module and installed on the Testing machine. I was expecting that this will atleast solve my prioblem but it also failed to load dll. Any one has suggestion that how this can be achieved?
PrafullaShirke27 wrote:
But the dll is failed to load using loadlibrary.
Did you call
GetLastError()
to find out why?"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Man who follows car will be exhausted." - Confucius
-
PrafullaShirke27 wrote:
But the dll is failed to load using loadlibrary.
Did you call
GetLastError()
to find out why?"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Man who follows car will be exhausted." - Confucius
Thanks guys for response. I tried depends and added the necessary dll for that and GetLastError too. And according to that The operation was successful.