Thread: VB Strings
View Single Post
  #5 (permalink)  
Old 09-25-2008, 12:36 PM
reniery reniery is offline
Learning Programmer
 
Join Date: May 2008
Posts: 43
Credits: 0
Rep Power: 3
reniery is on a distinguished road
Default Re: VB Strings

Yeah but there is a difference in structure in how strings are handle in vb and in c++. For example C strings are arrays of characters terminated by a NULL character. Visual Basic strings differ in that the length of the string preceded the characters in the string. C++ BSTR is the same as the String in VB so im using that in my c++ dll.

But actually my problem is with using pointers in vb6, what I need to do is a pointer to a string but until now I have only been able to point to the first char of the string using strptr() . In c++ I did it using the code a previously posted but havenīt found a vb6 equivalent yet.

So is it posible

On a side note: VB I despise you
Reply With Quote

Sponsored Links