When I fill a CString object with data, I got byte salad after 269 bytes on my PocketPC 2002 system.
The first 269 bytes are filled with the correct data and afterwards there is only trash. The length seems to
I put source code of an example to this mail. Maybe you can help me.
BTW: the function works fine if I compile it for PC.
CString tmp = "";
int i = 0;
while( i<100 )
tmp += _T( "Hello World\n" );
unsigned long FileSize;
IniFile.Open( _T( "Hello.txt" ), CFile::modeWrite | CFile::modeCreate , &IniFileException );
FileSize = tmp.GetLength( );
IniFile.Write( CKonvertierung::StringToChar( tmp ) , FileSize );