Click here to Skip to main content
15,919,358 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Serial communication + thread related problem Pin
ThatsAlok5-Sep-06 2:50
ThatsAlok5-Sep-06 2:50 
AnswerRe: Serial communication + thread related problem Pin
Blake Miller6-Sep-06 11:49
Blake Miller6-Sep-06 11:49 
QuestionReading error Pin
Anu_Bala5-Sep-06 2:08
Anu_Bala5-Sep-06 2:08 
AnswerRe: Reading error Pin
_AnsHUMAN_ 5-Sep-06 2:12
_AnsHUMAN_ 5-Sep-06 2:12 
GeneralRe: Reading error Pin
Anu_Bala5-Sep-06 2:24
Anu_Bala5-Sep-06 2:24 
GeneralRe: Reading error Pin
_AnsHUMAN_ 5-Sep-06 2:29
_AnsHUMAN_ 5-Sep-06 2:29 
GeneralRe: Reading error Pin
Anu_Bala5-Sep-06 2:38
Anu_Bala5-Sep-06 2:38 
AnswerRe: Reading error Pin
Sebastian Schneider5-Sep-06 3:18
Sebastian Schneider5-Sep-06 3:18 
As it seems, the value in the file is a string.

If that is the case (and cfTag.Read is a functions to read a string from a file into a given char array), you are using it wrong. You should probably use something around the lines of (thats a guess):
char tScaleLow[TSCALELENGTH]; and<br />
cfTag.Read(tScaleLow,sizeof(char) * TSCALELENGTH); 


Actually, without a definition of cfTag.Read, there is no way to tell what you are doing wrong, but I really suspect wrong use of "Read" to be the reason.

Cheers,
Sebastian

--
Contra vim mortem non est medicamen in hortem.

QuestionDebugging NULL call CTDs Pin
mnelles5-Sep-06 1:55
mnelles5-Sep-06 1:55 
AnswerRe: Debugging NULL call CTDs Pin
Frank K5-Sep-06 2:49
Frank K5-Sep-06 2:49 
GeneralRe: Debugging NULL call CTDs Pin
mnelles5-Sep-06 4:07
mnelles5-Sep-06 4:07 
QuestionCRichEditCtrl link color predefined Pin
YaronNir5-Sep-06 1:44
YaronNir5-Sep-06 1:44 
QuestionPlaySound question Pin
YaronNir5-Sep-06 1:43
YaronNir5-Sep-06 1:43 
AnswerRe: PlaySound question Pin
Hamid_RT5-Sep-06 2:21
Hamid_RT5-Sep-06 2:21 
GeneralRe: PlaySound question Pin
YaronNir5-Sep-06 3:04
YaronNir5-Sep-06 3:04 
QuestionRe: PlaySound question Pin
David Crow5-Sep-06 4:20
David Crow5-Sep-06 4:20 
AnswerRe: PlaySound question Pin
Hamid_RT5-Sep-06 5:33
Hamid_RT5-Sep-06 5:33 
GeneralRe: PlaySound question Pin
David Crow5-Sep-06 7:01
David Crow5-Sep-06 7:01 
GeneralRe: PlaySound question Pin
Hamid_RT5-Sep-06 8:11
Hamid_RT5-Sep-06 8:11 
Questionerror LNK2001: unresolved external symbol _strnicmp Pin
jalsa G5-Sep-06 1:19
jalsa G5-Sep-06 1:19 
AnswerRe: error LNK2001: unresolved external symbol _strnicmp Pin
Frank K5-Sep-06 1:27
Frank K5-Sep-06 1:27 
GeneralRe: error LNK2001: unresolved external symbol _strnicmp Pin
jalsa G5-Sep-06 1:43
jalsa G5-Sep-06 1:43 
GeneralRe: error LNK2001: unresolved external symbol _strnicmp Pin
Hamid_RT5-Sep-06 2:21
Hamid_RT5-Sep-06 2:21 
GeneralRe: error LNK2001: unresolved external symbol _strnicmp Pin
Frank K5-Sep-06 2:37
Frank K5-Sep-06 2:37 
QuestionShell extensions? Pin
kiranin5-Sep-06 0:57
kiranin5-Sep-06 0:57 

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.