CompuServe Archive

This is an archive of CompuServe forum messages from 1985 to 1995, as saved in transcripts by John Foust.

Search Results (5 messages)

From: T.O. MS BASIC Forum · Visual Basic October 9, 1991 5:33 PM
Jim I'm using a large model to compile the DLL with and BC++ definitely understands and defaults all pointers to FAR. I inadvertently omitted the "Byval" keyword in my sample code but it was really there. I've even explicitly cast the pointers as FAR with the same result. My C…
From: T.O. MS BASIC Forum · Visual Basic October 8, 1991 3:27 PM
Jonathan, No succes with the double function. What I'm trying to do is extract a database numeric field (in character format) in my DLL, convert it to a double, and pass that value back to Vis Basic when Vis Basic requests it by supplying a field name. Declared as: Declare…
From: T.O. MS BASIC Forum · Visual Basic October 7, 1991 4:01 PM
Jonathan, I WAS trying to create a function that returned a double and got the same results as our friend that started this thread. I tried your suggestion (by only adding the param to the BC++ function) but crashed with an "Exceeded segment bounds" error in Vis Basic Dr. Watson…
DLL DOUBLES Message #1435
From: T.O. MS BASIC Forum · Visual Basic October 4, 1991 6:34 PM
See message I sent to J. Zuck in this section re solution to creating doubles in Vis Basic from a Borland C++ program.
From: T.O. MS BASIC Forum · Visual Basic October 4, 1991 6:32 PM
Tried your suggestion with Borland C++ re DLL function that returns a double and could not make it work. The following code shows you how to do it. My DLL C function looks like this void FAR PASCAL MyDouble(char *ASCnum, double *dval) { *dval = 3216.78; (or whatever) } and…