S
shashank.aka.invi
Hi someone plz help me. I have made a dll in VC++ .NET using following
specifications
extern "C"
{
__declspec(dllexport) void Probe_Interfaces_Local()
{
//some code
}
}
i compiled it successfully and add the dll formed to another C# project
directory. The c# code looks like this...
using System;
using System.Runtime.InteropServices;
namespace read
{
class Capture
{
[DllImport("mod2.dll")]
public static extern void Probe_Interfaces_Local();
//some code
}
}
The C# project compiles successfully but when i run it it breaks with
dll exception and says unable to load dll(mod2.dll)
specifications
extern "C"
{
__declspec(dllexport) void Probe_Interfaces_Local()
{
//some code
}
}
i compiled it successfully and add the dll formed to another C# project
directory. The c# code looks like this...
using System;
using System.Runtime.InteropServices;
namespace read
{
class Capture
{
[DllImport("mod2.dll")]
public static extern void Probe_Interfaces_Local();
//some code
}
}
The C# project compiles successfully but when i run it it breaks with
dll exception and says unable to load dll(mod2.dll)