Click to See Complete Forum and Search --> : Fascinating problem running .NET executable


abhiksingh
December 20th, 2006, 12:40 PM
Hi Guys,

I am developing an application in VC++ .NET 2003 and have created an installer for it. The problem is that when I use the installer on a machine different from the development machine, calls to a camera's driver DLL (exist in the System32 directory) do not work correctly (this only happens intermittently) but if I copy the folder that contains the application and its dependency DLL's to the Desktop from the Program File folder and then try running the program everything works fine.

I am using a wrapper DLL created in C# to utilize the functionality of the camera driver DLL. All my assemblies are signed using the Strong Name tool.

My guess is that this is a Code Access Security permission issue but I do not know enough about this to find a solution. Any help would be appreciated.

-AK

cilu
December 22nd, 2006, 03:43 AM
What if you put them in the same folder as the application (side-by-side)?