Click here to Skip to main content
15,905,912 members
Home / Discussions / Mobile
   

Mobile

 
GeneralRe: Any samples for OLEDB API's for accessing Windows CE SQL Server Pin
AKSIVAKUMAR4-Jun-04 2:25
AKSIVAKUMAR4-Jun-04 2:25 
GeneralRe: Any samples for OLEDB API's for accessing Windows CE SQL Server Pin
cmk4-Jun-04 10:03
cmk4-Jun-04 10:03 
GeneralRe: Any samples for OLEDB API's for accessing Windows CE SQL Server Pin
AKSIVAKUMAR4-Jun-04 22:44
AKSIVAKUMAR4-Jun-04 22:44 
GeneralRe: Any samples for OLEDB API's for accessing Windows CE SQL Server Pin
cmk5-Jun-04 11:50
cmk5-Jun-04 11:50 
GeneralAny tools for unit testing Pin
kotasuresh197630-May-04 19:19
kotasuresh197630-May-04 19:19 
GeneralRe: Any tools for unit testing Pin
João Paulo Figueira30-May-04 22:09
professionalJoão Paulo Figueira30-May-04 22:09 
GeneralWi-Fi and PocketPC Emulator Pin
D.J.Deky27-May-04 1:10
D.J.Deky27-May-04 1:10 
GeneralUnicode file reading... Pin
GDavy26-May-04 22:45
GDavy26-May-04 22:45 
Hello there,
I got a problem when reading a unicode file on my pocket pc...
The problem is that a Unicode file starts with WCHAR 0xfffe.
I read strings from the file using the ReadString method of CArchive.
And offcourse the first string has that leading 0xfffe character.
I tried to do a TrimLeft(0xfffe) on that string, but to no avail, the character remains there.
Is there any way to just skip that character without having to write any special if else
statements?

CArchive inStream(&unicodeFile, CArchive::load);
if( inStream.ReadString( sTemp ) )
{
sTemp.TrimLeft();
if( !sTemp.IsEmpty() )
{
sTemp.TrimLeft(0xfffe); //doesn^t help


//here I compare the sTemp with a string I try to find
//in the file, however if that string is on the first
//line the compare fails due to that 0xfffe
.
.
.



If anyone can help I`ld be gratefull..

Davy



GeneralRe: Unicode file reading... Pin
João Paulo Figueira27-May-04 1:14
professionalJoão Paulo Figueira27-May-04 1:14 
GeneralSQLCE Exception during .AddSubscription Pin
fume25-May-04 23:27
fume25-May-04 23:27 
GeneralUser Controls Pin
Nick Seng24-May-04 17:02
Nick Seng24-May-04 17:02 
Generalcustom control eVC++ Pin
Member 109698024-May-04 7:25
Member 109698024-May-04 7:25 
GeneralEVC++ to Flash Comunication.... Pin
Deepa Gopal23-May-04 21:39
Deepa Gopal23-May-04 21:39 
GeneralRestarting DHCP Client from Driver Pin
gomathy_p_iyer20-May-04 21:36
sussgomathy_p_iyer20-May-04 21:36 
General.net Compact framework Pin
ppp00120-May-04 8:58
ppp00120-May-04 8:58 
GeneralRe: .net Compact framework Pin
dormi33331-May-04 20:38
dormi33331-May-04 20:38 
GeneralVisual Inheritance in Smart Devices Project Pin
rmcw17-May-04 11:05
rmcw17-May-04 11:05 
Questioncompactflash in .net compact framework? Pin
3hrguy16-May-04 20:27
3hrguy16-May-04 20:27 
General.NET CF SDK Pin
monn13-May-04 19:40
monn13-May-04 19:40 
GeneralPocket PC rebooting every few minutes.. Pin
KellyR13-May-04 4:06
KellyR13-May-04 4:06 
Questionhow should I marshall this function? Pin
Paolo Ponzano12-May-04 22:09
Paolo Ponzano12-May-04 22:09 
Generalapplication path Pin
GDavy12-May-04 21:59
GDavy12-May-04 21:59 
GeneralRe: application path Pin
João Paulo Figueira12-May-04 22:40
professionalJoão Paulo Figueira12-May-04 22:40 
GeneralRe: application path Pin
GDavy12-May-04 23:22
GDavy12-May-04 23:22 
GeneralApplication Running in the PocketPC Pin
Gopabandhu12-May-04 19:43
Gopabandhu12-May-04 19:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.