| |
| | kbAlertz: LONG: Calling C Routines from Basic -- Part 2 of 2 The information in this article applies to: Microsoft ... (Site not responding. Last check: 2007-10-24) |
 | | C Routines linked with a Basic program that does screen output (by using printf, puts, and so on) do not update the cursor position after returning to the calling Basic program. |
 | | If BYVAL is not used, Basic will create a temporary variable to hold the address, then pass a pointer to this variable (in effect, pass a pointer to a pointer). |
 | | DECLARE SUB NumericFar CDECL (_ BYVAL p1o AS INTEGER, BYVAL p1s AS INTEGER,_ BYVAL p2o AS INTEGER, BYVAL p2s AS INTEGER,_ BYVAL p3o AS INTEGER, BYVAL p3s AS INTEGER,_ BYVAL p4o AS INTEGER, BYVAL p4s AS INTEGER) a% = 32767 bandamp; = 32769 c! |
| www.kbalertz.com /kb_Q104512.aspx (2698 words) |
|