Click here to Skip to main content
15,884,298 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questiondoubly linked lsit Pin
Aljaz1119-Apr-09 22:34
Aljaz1119-Apr-09 22:34 
AnswerRe: doubly linked lsit Pin
CPallini9-Apr-09 23:22
mveCPallini9-Apr-09 23:22 
GeneralRe: doubly linked lsit Pin
Aljaz11110-Apr-09 2:14
Aljaz11110-Apr-09 2:14 
AnswerRe: doubly linked lsit Pin
Divyang Mithaiwala9-Apr-09 23:23
Divyang Mithaiwala9-Apr-09 23:23 
GeneralRe: doubly linked lsit Pin
CPallini9-Apr-09 23:29
mveCPallini9-Apr-09 23:29 
QuestionCannot convert from 'CString' to 'TCHAR []' Pin
PankajB9-Apr-09 22:31
PankajB9-Apr-09 22:31 
AnswerRe: Cannot convert from 'CString' to 'TCHAR []' Pin
PankajB9-Apr-09 23:01
PankajB9-Apr-09 23:01 
GeneralRe: Cannot convert from 'CString' to 'TCHAR []' Pin
CPallini9-Apr-09 23:25
mveCPallini9-Apr-09 23:25 
Your solution only works on UNICODE builds.
On the other hand, you may easily generalize it with
CString strSource = _T("Hello");
TCHAR SourceFile[100];
_tcscpy(SourceFile, strSource );


to work both in UNICODE and in ANSI builds.
Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke

[My articles]

AnswerRe: Cannot convert from 'CString' to 'TCHAR []' Pin
CPallini9-Apr-09 23:13
mveCPallini9-Apr-09 23:13 
Questionpointer on class Pin
durban29-Apr-09 21:43
durban29-Apr-09 21:43 
QuestionRe: pointer on class Pin
CPallini9-Apr-09 22:28
mveCPallini9-Apr-09 22:28 
QuestionCompare recorded speech (with FFT?) Pin
rwilmink9-Apr-09 21:16
rwilmink9-Apr-09 21:16 
QuestionExternal Hard Disk Drives Pin
Abinash Mohanty9-Apr-09 21:00
Abinash Mohanty9-Apr-09 21:00 
AnswerRe: External Hard Disk Drives Pin
Hamid_RT9-Apr-09 21:07
Hamid_RT9-Apr-09 21:07 
GeneralRe: External Hard Disk Drives Pin
Abinash Mohanty9-Apr-09 23:28
Abinash Mohanty9-Apr-09 23:28 
QuestionRe: External Hard Disk Drives Pin
David Crow10-Apr-09 3:02
David Crow10-Apr-09 3:02 
QuestionMacro, why? Pin
Maxwell Chen9-Apr-09 20:16
Maxwell Chen9-Apr-09 20:16 
QuestionRe: Macro, why? Pin
CPallini9-Apr-09 20:29
mveCPallini9-Apr-09 20:29 
AnswerRe: Macro, why? Pin
Maxwell Chen9-Apr-09 20:32
Maxwell Chen9-Apr-09 20:32 
Questionshow one column extra in CListControl Pin
Davitor9-Apr-09 20:06
Davitor9-Apr-09 20:06 
AnswerRe: show one column extra in CListControl Pin
rwilmink10-Apr-09 2:49
rwilmink10-Apr-09 2:49 
QuestionRe: show one column extra in CListControl Pin
David Crow10-Apr-09 3:03
David Crow10-Apr-09 3:03 
AnswerRe: show one column extra in CListControl Pin
Davitor13-Apr-09 0:26
Davitor13-Apr-09 0:26 
QuestionUnable to View the MDI Static Splitter Pin
narayanagvs9-Apr-09 19:27
narayanagvs9-Apr-09 19:27 
QuestionHow to Add Crystal Report ActiveX Control 4.0 in VC++ ATL Based Program? Pin
savitri9-Apr-09 19:14
savitri9-Apr-09 19:14 

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.