G
Guest
Hi, I'm using vs2005, .net 2, C# for windows application. In my application,
I use a C coded file that I use VS to compile into a dll for some of it's
functions. It works on my devvelopment PC. I created a Setup project for
the application. In the file syste, I added the dll. After successful
installation on a target machine, I get error of not able to find the dll
when I run the applicaiton. I checked the program files directory and this
dll is there. Can someone tell me what's wrong here and how can I solve
this?
The dll is just plain C code. I compiled it in VS2005's C++ compiler to
produce a dll. There isn't a interop created with the file name. Here is
how that dll is imported to my applicatinon by the following declareation.
[DllImport("UnityDecodeAsnUser.dll", CharSet = CharSet.Unicode)]
public static extern DE_ERRORS DecodeAsnGroup(ref Blob blob,
[In, Out]CGroupContextData m);
I use a C coded file that I use VS to compile into a dll for some of it's
functions. It works on my devvelopment PC. I created a Setup project for
the application. In the file syste, I added the dll. After successful
installation on a target machine, I get error of not able to find the dll
when I run the applicaiton. I checked the program files directory and this
dll is there. Can someone tell me what's wrong here and how can I solve
this?
The dll is just plain C code. I compiled it in VS2005's C++ compiler to
produce a dll. There isn't a interop created with the file name. Here is
how that dll is imported to my applicatinon by the following declareation.
[DllImport("UnityDecodeAsnUser.dll", CharSet = CharSet.Unicode)]
public static extern DE_ERRORS DecodeAsnGroup(ref Blob blob,
[In, Out]CGroupContextData m);