This is an archive of CompuServe forum messages from 1985 to 1995, as saved in transcripts by John Foust.
Search Results (5 messages)
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…
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…
#BAD DLL CALLING CONVENTI
Message #1864
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
See message I sent to J. Zuck in this section re solution to creating doubles in Vis Basic from a Borland C++ program.
#BAD DLL CALLING CONVENTI
Message #1434
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…