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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

help with dll call

Status
Not open for further replies.

Carl3

Programmer
Feb 26, 2001
2
US
We have a DLL created using Realia COBOL version 3.1. I need to call this dll from a Visual C++ program and have not been able to figure out how to define and call the dll.

Does anyone have any words of wisdom that will help me accomplish this?

Thanks,
Carl
 
How I call .dll in my programs is by using the #import pre-processor directive like so:

#import "C:\winnt\system32\ado15.dll"

This goes at the top of your code.
Try the import and just show the program where your dll is.

Hope this helps.

Niky Williams
NTS Marketing
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top