Problem with C function called from Visual Basic

Status
You're currently viewing only Rubycon's posts. Click here to go back to viewing the entire thread.
Not open for further replies.

Rubycon

Smack-Fu Master, in training
53
From Dan Appleman's "VB Programmers Guide to the Win32 API"
DLL functions may not return VB Strings directly, but they can modify strings that are passed to them.

I.e.
void blah(char* out)
{ ... }

Make sure that the string the VB programming is passing has been filled with null chars and is big enough to hold the return.

[Edited: found reference]

[This message was edited by Rubycon on October 26, 2001 at 12:26.]

[This message was edited by Rubycon on October 26, 2001 at 12:27.]
 
Status
You're currently viewing only Rubycon's posts. Click here to go back to viewing the entire thread.
Not open for further replies.