Hi
I have the VM140 USB interface card. Now I’m trying to write software in c#. I have readed the manual and a lot of forum topics here but i have a problem.
When I do this, just for testing:
[DllImport("K8061.dll")]
private static extern int OpenDevice(int CardAddress);
private void Form1_Load(object sender, EventArgs e)
{
if (OpenDevice(0) > 1)
{
MessageBox.Show("succes");
}
else
{
MessageBox.Show("error");
}
}
The program compiles, but when it is running I get a did not found exception.
What is wrong?
- Do I use the wrong DLL?
- Bad code?
- Some detail i don’t see?
I have found a c# project on this forum but for a board that uses K8055D.dll… But when i change the dll file the did not found exception returns…
Can somebody help mee please?
