programming tools for Windows applications development
  Home  |   SwiftForth Archive  |   SwiftX Archive  |

Calling external procedure

From: Chuck Carlson <chuck_at_sanna.com>
Date: Sun, 20 Jul 2003 21:43:05 -0700

Hello,
I'm trying to call a procedure in a DLL. The procedure is not imported via CIMPORT though. The address of this procedure is obtained as follows:

library AARDVARK.DLL
1 cimport: aa_load_function
Z" aa_find_devices" aa_load_function

Now I've got the address of function aa_find_devices(int a,int b) on the stack but I don't know how to call it and I have to pass 2 args to it as well.

What's the next step?

Thanks,

Chuck

----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
For list command help, send subject "help" to sftalk-request_at_forth.com
Message archives are located at http://www.forth.com/archive/sftalk
----------------------------------------------------------------------
This list is a forum for SwiftForth users. For product support and bug
reports, please send email to support_at_forth.com
----------------------------------------------------------------------
Received on Sun Jul 20 2003 - 21:48:36 PDT

This archive was generated by hypermail 2.2.0 : Tue Dec 02 2008 - 03:04:33 PST