Hey there.. here's the skinny..
Alright I've basically passed a Pointer to a Visual Basic Function to a PowerBasic app. (Using Address Of) The Function is simple, MyString(This as String), I use PowerBasics Call Dword feature to call the Visual Basic routine. Now... the VB routine is successfully executed from PowerBasic, but the data in the String is corrupted, intead of saying "Hello blah blah" it says "???????5???5???5??5 ??? 5" when I recieved by VB. I'm using the String data type in VB and PB. Any suggestions? Does this have something to do with unicode, and being converted to ascii... ? Help!
Thanks in advance,
Matty G
------------------
Alright I've basically passed a Pointer to a Visual Basic Function to a PowerBasic app. (Using Address Of) The Function is simple, MyString(This as String), I use PowerBasics Call Dword feature to call the Visual Basic routine. Now... the VB routine is successfully executed from PowerBasic, but the data in the String is corrupted, intead of saying "Hello blah blah" it says "???????5???5???5??5 ??? 5" when I recieved by VB. I'm using the String data type in VB and PB. Any suggestions? Does this have something to do with unicode, and being converted to ascii... ? Help!
Thanks in advance,
Matty G

------------------
Comment