From Dan Appleman's "VB Programmers Guide to the Win32 API"
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.]
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.]