Click here to Skip to main content
15,917,538 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CreateFile, error Pin
Cedric Moonen3-Nov-04 22:03
Cedric Moonen3-Nov-04 22:03 
GeneralRe: CreateFile, error Pin
gunnar663-Nov-04 23:02
gunnar663-Nov-04 23:02 
GeneralRe: CreateFile, error Pin
Cedric Moonen3-Nov-04 23:06
Cedric Moonen3-Nov-04 23:06 
GeneralRe: CreateFile, error Pin
jan larsen4-Nov-04 0:48
jan larsen4-Nov-04 0:48 
GeneralRe: CreateFile, error Pin
Antony M Kancidrowski4-Nov-04 1:13
Antony M Kancidrowski4-Nov-04 1:13 
GeneralRe: CreateFile, error Pin
jan larsen4-Nov-04 1:17
jan larsen4-Nov-04 1:17 
GeneralRe: CreateFile, error Pin
Antony M Kancidrowski4-Nov-04 2:05
Antony M Kancidrowski4-Nov-04 2:05 
GeneralRe: CreateFile, error Pin
jan larsen4-Nov-04 1:25
jan larsen4-Nov-04 1:25 
Thanks to Antony for clearing up some things here.

Embedded C++ insists on UNICODE, this means that if you want to build for both platforms, you should use the proper typedefs when working with strings.

Michael Dunn has written a very good article on this: The Complete Guide to C++ Strings[^]

So it seems that the compiler confusion springs from: When compiling for the embedded environment, it will allways link to wide character functions, this means that you can't use char, and that, when you compile for the embedded environment, have to define UNICODE.

"After all it's just text at the end of the day. - Colin Davies

"For example, when a VB programmer comes to my house, they may say 'does your pool need cleaning, sir ?' " - Christian Graus
GeneralRe: CreateFile, error Pin
gunnar664-Nov-04 1:31
gunnar664-Nov-04 1:31 
GeneralHelp ! A strange problem Pin
poodle773-Nov-04 21:03
poodle773-Nov-04 21:03 
GeneralWindows groups and languages Pin
ramskar3-Nov-04 20:48
ramskar3-Nov-04 20:48 
GeneralRe: Windows groups and languages Pin
Antony M Kancidrowski4-Nov-04 0:32
Antony M Kancidrowski4-Nov-04 0:32 
GeneralRe: Windows groups and languages Pin
Blake Miller4-Nov-04 6:21
Blake Miller4-Nov-04 6:21 
GeneralRe: Windows groups and languages Pin
ramskar4-Nov-04 23:32
ramskar4-Nov-04 23:32 
GeneralRe: Windows groups and languages Pin
ramskar8-Nov-04 2:00
ramskar8-Nov-04 2:00 
QuestionGet ID of a Dialog? Pin
Anonymous3-Nov-04 20:45
Anonymous3-Nov-04 20:45 
AnswerRe: Get ID of a Dialog? Pin
ThatsAlok3-Nov-04 22:06
ThatsAlok3-Nov-04 22:06 
GeneralUpdating SDK Pin
cberam3-Nov-04 20:05
cberam3-Nov-04 20:05 
GeneralRe: Updating SDK Pin
Antony M Kancidrowski4-Nov-04 0:18
Antony M Kancidrowski4-Nov-04 0:18 
GeneralRe: Updating SDK Pin
David Crow4-Nov-04 3:49
David Crow4-Nov-04 3:49 
GeneralHelp me plase || CRichEdit Pin
TooLeeDiN3-Nov-04 17:11
TooLeeDiN3-Nov-04 17:11 
GeneralRe: Help me plase || CRichEdit Pin
Ryan Binns3-Nov-04 18:23
Ryan Binns3-Nov-04 18:23 
GeneralRe: Help me plase || CRichEdit Pin
TooLeeDiN3-Nov-04 18:33
TooLeeDiN3-Nov-04 18:33 
Generalaccessing win Ce database Pin
Logan from Singapore3-Nov-04 16:17
Logan from Singapore3-Nov-04 16:17 
GeneralRe: accessing win Ce database Pin
Cedric Moonen3-Nov-04 20:23
Cedric Moonen3-Nov-04 20:23 

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.