Click here to Skip to main content
15,891,248 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: use string instead of commands Pin
BlackDice3-Nov-04 7:10
BlackDice3-Nov-04 7:10 
GeneralRe: use string instead of commands Pin
David Crow3-Nov-04 7:48
David Crow3-Nov-04 7:48 
GeneralRe: use string instead of commands Pin
BlackDice3-Nov-04 8:00
BlackDice3-Nov-04 8:00 
GeneralHave a custom titlebar Pin
dSolariuM3-Nov-04 2:26
dSolariuM3-Nov-04 2:26 
GeneralCreateFile ... error C2065 Pin
gunnar663-Nov-04 2:13
gunnar663-Nov-04 2:13 
GeneralRe: CreateFile ... error C2065 Pin
P-Rex3-Nov-04 2:55
P-Rex3-Nov-04 2:55 
GeneralRe: CreateFile ... error C2065 Pin
gunnar663-Nov-04 3:22
gunnar663-Nov-04 3:22 
GeneralRe: CreateFile ... error C2065 Pin
Antony M Kancidrowski3-Nov-04 4:26
Antony M Kancidrowski3-Nov-04 4:26 
The TEXT macro eventually translates to L

What TEXT expects is a quoted string e.g. TEXT("myfile.txt")

What you need to do is convert the char* filnavn1 to a wide char format string when using Embedded C++. Then use this as the first parameter in CreateFile



Ant.

I'm hard, yet soft.
I'm coloured, yet clear.
I'm fruity and sweet.
I'm jelly, what am I? Muse on it further, I shall return!
- David Walliams (Little Britain)

QuestionAny help for memory leak ? Pin
Amarelia3-Nov-04 1:43
Amarelia3-Nov-04 1:43 
AnswerRe: Any help for memory leak ? Pin
Selvam R3-Nov-04 2:31
professionalSelvam R3-Nov-04 2:31 
AnswerRe: Any help for memory leak ? Pin
Henry miller3-Nov-04 2:45
Henry miller3-Nov-04 2:45 
GeneralHardware programming help Pin
Pothirajan C3-Nov-04 1:18
Pothirajan C3-Nov-04 1:18 
GeneralColoring static group box Pin
balajeedurai3-Nov-04 0:29
balajeedurai3-Nov-04 0:29 
GeneralRe: Coloring static group box Pin
Ravi Bhavnani3-Nov-04 2:40
professionalRavi Bhavnani3-Nov-04 2:40 
GeneralRe: Coloring static group box Pin
Selvam R3-Nov-04 2:44
professionalSelvam R3-Nov-04 2:44 
GeneralHelp Files In a MFC Application Pin
sweep1232-Nov-04 23:31
sweep1232-Nov-04 23:31 
QuestionHow to write o soft keyboard Pin
ledallam2-Nov-04 23:31
ledallam2-Nov-04 23:31 
AnswerRe: How to write o soft keyboard Pin
vcplusplus2-Nov-04 23:54
vcplusplus2-Nov-04 23:54 
QuestionHow to hide a file (any file)? Pin
john_tran2-Nov-04 23:24
john_tran2-Nov-04 23:24 
AnswerRe: How to hide a file (any file)? Pin
jan larsen3-Nov-04 0:20
jan larsen3-Nov-04 0:20 
GeneralRe: How to hide a file (any file)? Pin
john_tran4-Nov-04 3:25
john_tran4-Nov-04 3:25 
GeneralRe: How to hide a file (any file)? Pin
jan larsen4-Nov-04 3:32
jan larsen4-Nov-04 3:32 
GeneralRe: How to hide a file (any file)? Pin
john_tran4-Nov-04 3:45
john_tran4-Nov-04 3:45 
GeneralRe: How to hide a file (any file)? Pin
jan larsen4-Nov-04 3:47
jan larsen4-Nov-04 3:47 
GeneralRe: How to hide a file (any file)? Pin
jan larsen4-Nov-04 3:49
jan larsen4-Nov-04 3:49 

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.