Pascal Strings and VB?
Posted on 1998-05-21
I need to pass a parameter from a VB 4.0 program to a DLL which asks for a parameter of type PascalString and another parameter of type Pchar. Unfortunately, I don't know Pascal, and the extent of my knowledge of pascal strings is that somehow the length of the string is encoded into the string itself. In addition, I don't know at all what a PChar is. Is there a way for me to create data to send/receive from a VB (4.0) program and a DLL requiring a PascalString and a PChar?