Ok, I have an application that I am writing that accesses some external hardware. The hardware came with a DLL written in C++. I have used the manufacturer's test application and have confirmed that everything is working fine.
I need to know the basics of how to integrate this DLL into my application. I have searched around and not found what I need. Here is what I have done in an attempt to make it work:
The DLL is in the project's directory.
I added a module that has the following line:
Declare Sub PPInitialize Lib "DParallelPort.dll" ()
When I run the program and it reaches this line:
Call PPInitialize
it gives me a Run-time Error '48' DParallelPort.DLL not found. I tried adding the path into the Declare statement with no luck.
I need to know the basics of how to integrate this DLL into my application. I have searched around and not found what I need. Here is what I have done in an attempt to make it work:
The DLL is in the project's directory.
I added a module that has the following line:
Declare Sub PPInitialize Lib "DParallelPort.dll" ()
When I run the program and it reaches this line:
Call PPInitialize
it gives me a Run-time Error '48' DParallelPort.DLL not found. I tried adding the path into the Declare statement with no luck.