CompuServe Messages

#BAD DLL CALLING CONVENTI

    07-Oct-91 16:01:45
Sb: #BAD DLL CALLING CONVENTI
Fm: T.O. 70524,3723
To: Jonathan Zuck (UFI) 76702,1605
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 report. So I tried it by creating a sub to get the double back to Vis Basic and it worked as I documented in Friday's message – HOWEVER… after more testing, I get inconsistent results with the SUB (it seems to randomly crash after x number of calls to the double routine – and x can be anything) with the Exceed segment bounds error. I am going to try your original suggestion again and if I get anything I'll get back to you. There is 1 Reply.