Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Basic DLL help...new to this

Status
Not open for further replies.

mrjts

Programmer
Jan 18, 2001
11
0
0
US
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.
 
go see message subject "links to dll sites" posted
on 12/19 in this forum.

belthurgp (Instructor) outlines what you need to do.
It starts off: "hi, Writing dlls are very simple"

hope this helps!
 
Sorry, that didn't get it. That was talking about how to include one in a C++ program.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top