I have had problems transferring DLLs generated from my Win 7 PC(64bit) to any other machine (even a nearly identical Win 7 PC(64bit) systems as well). When I place the new DLL in a folder with the OpenSees executable, it seems like OpenSees does not recognize the DLL, although this works perfectly fine on my own computer. I have been compiling the DLLs/elements using Visual Studio 2010 and the only way I have been able to get my code to work on another machine has been to recompile the entire code by installing the entire Visual Studio 2010. I have tried installing Microsoft Visual C++ 2010 SP1 Redistributable and registering/unregistering the DLLs that I want transferred, but no success . Has anyone seen this issue before? I am not sure if there is an easy fix or if this is beyond the DLL capability.
Thanks,
E -
Using Win 7 DLLs on different machines
Moderators: silvia, selimgunay, Moderators
Re: Using Win 7 DLLs on different machines
I encounter the exact same problem, is there any solution yet other than install visual studio 2010 on every computers?
Re: Using Win 7 DLLs on different machines
I am having the same problem. If anyone has a solution to this, can they post it?
Re: Using Win 7 DLLs on different machines
SOLUTION (thanks to B. Winkler)
Make sure that the Visual Studio setting under "General>properties" is set to "Active(release)“. The default setting "Active(debug)“ creates a dll which will not work on computers without Visual Studio.
This worked for us in any case.
Make sure that the Visual Studio setting under "General>properties" is set to "Active(release)“. The default setting "Active(debug)“ creates a dll which will not work on computers without Visual Studio.
This worked for us in any case.