BAD DLL CALLING CONVENT.
05-Oct-91 23:45:30
Sb: #1408-BAD DLL CALLING CONVENT.
Fm: Jonathan Zuck (UFI) 76702,1605
To: John Ruzicka 75160,2376
John,
I'm glad you got things working. I saw the FAR PASCAL bit but I was
going to go back into BC++ to be sure before humiliating myself publicly.
As for your second question, I can help. I need to create a string
function for the VBPOINT.DLL that I just uploaded. To accomplish this, you
need the CDK. There is a function VBCreateHlStr that creates a VB string
and copies a specified number of characters into it from a buffer to
supply. This functio returns a "handle" to a VB string and *that* is what
you return as your string function. The CDK is pretty cheap but if you
don't want to deal with it, you could simply download VBPTR.ZIP and call
the function there. You pass the *char and the number of bytes and you
would get a LONG back. You would then return this LONG as your function
result. Make sense? -=- Jonathan