Click here to Skip to main content
15,889,034 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralLightweight XML reader/writer lib Pin
peterchen4-Sep-04 22:26
peterchen4-Sep-04 22:26 
GeneralRe: Lightweight XML reader/writer lib Pin
Neville Franks5-Sep-04 0:24
Neville Franks5-Sep-04 0:24 
GeneralRe: Lightweight XML reader/writer lib Pin
Dominik Reichl5-Sep-04 1:36
Dominik Reichl5-Sep-04 1:36 
QuestionHow to use CreateRemoteThread on every process in every windowstation ? Pin
n4_t14-Sep-04 17:39
n4_t14-Sep-04 17:39 
AnswerRe: How to use CreateRemoteThread on every process in every windowstation ? Pin
gamitech5-Sep-04 9:20
gamitech5-Sep-04 9:20 
GeneralRemoving IWebBrowser2 'sunken' look Pin
Ritcho4-Sep-04 16:45
Ritcho4-Sep-04 16:45 
GeneralRe: Removing IWebBrowser2 'sunken' look Pin
Neville Franks5-Sep-04 0:40
Neville Franks5-Sep-04 0:40 
GeneralDouble to CString Conversion using fcvt Pin
Charlie Curtis4-Sep-04 16:45
Charlie Curtis4-Sep-04 16:45 
Hi All,

CString csRegHrs;
csRegHrs.Empty();

The next line produces the correct value Say 1000 (for 10.00) in csRegHrs.
csRegHrs = fcvt(m_pDSet->m_REGHRS,2,&decimal,&sign);

Can anyone explain to me why this isn't working.
csRegHrs.Format("%0.2lf");
The above line produces 0.00? Instead it should be 10.00?

I have stepped through the code and when I step into the csRegHrs.Format portion of the code it indicates in red text that it is 0.00 instead of 10.00.

I just don't get it. Any help would be appreciated.

Thanks,
Charlie Frown | :(

Everything is Free Until You Have to Pay for it...

Platforms Windows 2000/XP Professional using Visual C++ 6.0
GeneralRe: Double to CString Conversion using fcvt Pin
David Crow4-Sep-04 17:14
David Crow4-Sep-04 17:14 
GeneralRe: Double to CString Conversion using fcvt Pin
Charlie Curtis4-Sep-04 18:19
Charlie Curtis4-Sep-04 18:19 
GeneralC++ Termplate Issue.... Pin
Kandjar4-Sep-04 16:18
Kandjar4-Sep-04 16:18 
GeneralRe: C++ Termplate Issue.... Pin
PJ Arends4-Sep-04 17:15
professionalPJ Arends4-Sep-04 17:15 
GeneralRe: C++ Termplate Issue.... Pin
Kandjar4-Sep-04 18:06
Kandjar4-Sep-04 18:06 
GeneralRe: C++ Termplate Issue.... Pin
PJ Arends4-Sep-04 23:15
professionalPJ Arends4-Sep-04 23:15 
GeneralRe: C++ Termplate Issue.... Pin
Kandjar5-Sep-04 12:26
Kandjar5-Sep-04 12:26 
GeneralRe: C++ Termplate Issue.... Pin
Antti Keskinen5-Sep-04 1:22
Antti Keskinen5-Sep-04 1:22 
GeneralRe: C++ Termplate Issue.... Pin
Kandjar5-Sep-04 11:59
Kandjar5-Sep-04 11:59 
GeneralRe: C++ Termplate Issue.... Pin
Michael Dunn5-Sep-04 6:11
sitebuilderMichael Dunn5-Sep-04 6:11 
GeneralRe: C++ Termplate Issue.... Pin
Kandjar5-Sep-04 12:03
Kandjar5-Sep-04 12:03 
Generalhex digit format Pin
S.W.4-Sep-04 11:32
S.W.4-Sep-04 11:32 
GeneralRe: hex digit format Pin
Archer2824-Sep-04 15:22
Archer2824-Sep-04 15:22 
GeneralRe: hex digit format Pin
S.W.4-Sep-04 15:41
S.W.4-Sep-04 15:41 
GeneralRe: hex digit format Pin
David Crow4-Sep-04 16:37
David Crow4-Sep-04 16:37 
GeneralRe: hex digit format Pin
Archer2825-Sep-04 15:51
Archer2825-Sep-04 15:51 
QuestionWhy doesn't this work? Pin
Nemok4-Sep-04 10:25
Nemok4-Sep-04 10:25 

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.