Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

char* compatibility with Delphi

47 views
Skip to first unread message

Remy Lebeau

unread,
Dec 4, 2000, 3:00:00 AM12/4/00
to
Yes, using a char* is the most compatible choice across languages

Delphi uses it's own String class mostly, but has a PChar() function for
converting Strings to char*. In BCB, at least, AnsiString (BCB's equivilent
to Delphi's String) has char* constructor and = operator, so I'm sure Delphi
has something similar


Gambit

"Martijn" <sp...@v-d-l.com> wrote in message
news:90i2nr$r3...@bornews.inprise.com...

> I'm in the stages of creating a Plug-in interface working with DLL's with
> common externals. Currently char* are used to pass strings so visual C++
> users will also be able to use the interface (sadly enough it appears that
> the STL standard String has no defined implementation) but I just want to
> know whether Delphi and/or Visual Basic will also be able to handle these
> char*'s.


Martijn

unread,
Dec 5, 2000, 1:41:40 AM12/5/00
to
Hi,

I'm in the stages of creating a Plug-in interface working with DLL's with
common externals. Currently char* are used to pass strings so visual C++
users will also be able to use the interface (sadly enough it appears that
the STL standard String has no defined implementation) but I just want to
know whether Delphi and/or Visual Basic will also be able to handle these
char*'s.

regards,
Marrijn van der Lee


0 new messages