Click here to Skip to main content
15,892,927 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Save Folder path Pin
David Crow6-Oct-09 3:14
David Crow6-Oct-09 3:14 
AnswerRe: Save Folder path Pin
S p k 5215-Oct-09 22:49
S p k 5215-Oct-09 22:49 
AnswerRe: Save Folder path Pin
David Crow6-Oct-09 3:13
David Crow6-Oct-09 3:13 
QuestionHarmful USB Devices Pin
NetDefender 20095-Oct-09 8:21
NetDefender 20095-Oct-09 8:21 
QuestionRe: Harmful USB Devices Pin
David Crow5-Oct-09 8:24
David Crow5-Oct-09 8:24 
QuestionHow to create a program for querying active directory using visual C++ Pin
raja 45-Oct-09 4:55
raja 45-Oct-09 4:55 
QuestionRe: How to create a program for querying active directory using visual C++ Pin
CPallini5-Oct-09 6:57
mveCPallini5-Oct-09 6:57 
Questionconvert CString to double Pin
soongez5-Oct-09 4:46
soongez5-Oct-09 4:46 
Hey, I know this has been asked many times, and I've researched several solutions like atod etc,

here are some bits from my code.

CString line;
chkfile.ReadString(line)
CString token;
token = line.Tokenize(_T(" "),v);
TRACE(L"token %s\n",token);
TRACE(L"converted %d\n",_tstof(token));


chkfile is a CStdioFile.

the TRACE reads something like
token 66
converted 0


Why is always returning error code 0?

Thanks
soong
AnswerRe: convert CString to double Pin
Code-o-mat5-Oct-09 5:11
Code-o-mat5-Oct-09 5:11 
AnswerRe: convert CString to double Pin
Cedric Moonen5-Oct-09 7:50
Cedric Moonen5-Oct-09 7:50 
GeneralRe: convert CString to double Pin
soongez5-Oct-09 16:27
soongez5-Oct-09 16:27 
QuestionChange Background image of mesage box Pin
Pryabu5-Oct-09 2:31
Pryabu5-Oct-09 2:31 
AnswerRe: Change Background image of mesage box Pin
CPallini5-Oct-09 2:42
mveCPallini5-Oct-09 2:42 
GeneralRe: Change Background image of mesage box Pin
kilt8-Oct-09 23:39
kilt8-Oct-09 23:39 
QuestionRe: Change Background image of mesage box Pin
CPallini8-Oct-09 23:43
mveCPallini8-Oct-09 23:43 
QuestionRe: Change Background image of mesage box Pin
David Crow5-Oct-09 6:57
David Crow5-Oct-09 6:57 
AnswerRe: Change Background image of mesage box Pin
Hans Dietrich5-Oct-09 13:58
mentorHans Dietrich5-Oct-09 13:58 
QuestionCan We make ContextMenu as "sytem modal" Pin
Aabid5-Oct-09 2:01
Aabid5-Oct-09 2:01 
AnswerRe: Can We make ContextMenu as "sytem modal" Pin
Iain Clarke, Warrior Programmer5-Oct-09 8:50
Iain Clarke, Warrior Programmer5-Oct-09 8:50 
Questionproblem with sizeof() Pin
KASR15-Oct-09 1:18
KASR15-Oct-09 1:18 
AnswerRe: problem with sizeof() Pin
Rajesh R Subramanian5-Oct-09 1:23
professionalRajesh R Subramanian5-Oct-09 1:23 
GeneralRe: problem with sizeof() Pin
KASR15-Oct-09 1:54
KASR15-Oct-09 1:54 
AnswerRe: problem with sizeof() Pin
Code-o-mat5-Oct-09 1:31
Code-o-mat5-Oct-09 1:31 
GeneralRe: problem with sizeof() Pin
Nemanja Trifunovic5-Oct-09 7:23
Nemanja Trifunovic5-Oct-09 7:23 
GeneralRe: problem with sizeof() Pin
Code-o-mat5-Oct-09 8:02
Code-o-mat5-Oct-09 8:02 

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.