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

Re: LONGS returned from DLL call

From: Robert Dickow <dickow_at_uidaho.edu>
Date: Mon, 9 Dec 2002 17:22:29 -0800

Thanks, this info makes me think the docs for this DLL are bunged up a bit.
This plus the odd values returned by the routine call.

Bob D.
----- Original Message -----
From: "Leon Wagner" <leon_at_forth.com>
To: <sftalk_at_forth.com>
Sent: Monday, December 09, 2002 4:49 PM
Subject: [sftalk] Re: LONGS returned from DLL call

>
> A "long" is a 32-bit value, returned in EAX, which sF returns as a single
cell
> on the stack. The contents of EAX (whatever it is -- long, pointer,
boolean) is
> the _only_ thing returned directly by any DLL call. More complex data
(64-bit
> values, strings, aggregate data types) would be returned in a memory
structure
> whose address you pass as a parameter when you call the function.
>
> > -----Original Message-----

----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe sftalk" to listar_at_forth.com
For help with listar commands, send subject "help" to listar_at_forth.com
Archives are located at http://www.forth.com/sftalk -- check them out!
Search the archives! Visit http://www.forth.com/search for details.
Received on Mon Dec 09 2002 - 17:21:31 PST

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