header files for a device

  • Thread starter Thread starter Stijn
  • Start date Start date
S

Stijn

Can I use header files in vb.net?

I tried

#include <prototype.h>

but it is not working.

I have to include some header files and I have to link
the executable file with import libraries so I can
communicate with a counting device.

Does anyone knows how I have to do this?

Thanks!
 
I found a dll for my device and I try to use it, for
example with the following function:

Private Declare Function SCN_Close_Device
Lib "C:\Documents and Settings\Stijn.vanuytfanghe\My
Documents\Visual Studio
Projects\SCN6000TEST\bin\scn_scsi.dll"
Alias "SCN_Close_Device" (ByVal hWnd As Int16) As String

when I call the function

SCN_Close_Device(i)

I get the error Message:

Unable to load dll (C:\Documents and
Settings\Stijn.vanuytfanghe\My Documents\Visual Studio
Projects\SCN6000TEST\bin\scn_scsi.dll)

What's my problem?
 
Back
Top