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

Calling a DLL or generally a Library File from Foxpro 2.6 for Dos 1

Status
Not open for further replies.

barno

Programmer
May 27, 2002
10
0
0
I have an Application done in Foxpro 2.6 for Dos. I have done a DLL file in Visual C which im now Unable to Call from the Application.If its impossible to call it, then what is the equivalent of DLL that i can do and Call it from the same application and how can i do it? I have tried the "SET LIBRARY TO" Command but i got nowhere since it could not even recognize the DLL.
 
Ya, you won't be able to see it in dos unless you
recompile it with the dos library construction kit and
create a fll.

One way to possibly still use the dll is to use some type
of intermediate posting engine pattern.

i.e.

fox dos app - > table <- vb app -> dll

1- dos app inserts record into table
2- vb app sees it and makes a call on the dll
3- dll returns value to vb app
4- vb app inserts(updates) response record into table
5- dos app picks up response

Can be slow, but if speed's not an issue, may be the
quickest solution.

Darrell


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top