xewoox
asked on
DLLNotFoundException in C# runtime
I got a DLLNotFound Exception when I ran my C# program, the DLL is n the \Windows\System32\
and I have wrapper functions being used. Is there other configuration i need to be do to access functions withing the dll.
and I have wrapper functions being used. Is there other configuration i need to be do to access functions withing the dll.
using System.Runtime.InteropServices;
namespace TS_GlobalVariables
{
public class TS
{
[DllImport("GlobalVariable.dll", EntryPoint = "GV_SetInteger")]
public static extern int GV_SetInteger(int iLocation, int iVal);
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.