Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3860

Shouldn’t a TypeCast to CString create a real Cstring?

$
0
0

I thought I was going nuts when a really not that complicated API I was declaring into did not want to work on all methods that were using CStrings as input parameters. Until I found that neither a TypeCast from String to CString nor implicit conversion would append a trailing 0 byte to the converted string, in other words, what I thought to be a CString was technically still a normal string.

Which I would consider a bug. Is this documented or was it already declared as no bug, but a feature?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 3860

Trending Articles