Click here to Skip to main content
15,911,531 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalhelp files in C++ Pin
RalfPeter26-Mar-02 12:18
RalfPeter26-Mar-02 12:18 
GeneralRe: help files in C++ Pin
Paul M Watt26-Mar-02 13:30
mentorPaul M Watt26-Mar-02 13:30 
GeneralRe: help files in C++ Pin
Jeremy Falcon26-Mar-02 16:39
professionalJeremy Falcon26-Mar-02 16:39 
GeneralRe: help files in C++ Pin
lucy28-May-02 5:12
lucy28-May-02 5:12 
QuestionDebug/Release problem? Pin
MarkPQ26-Mar-02 12:19
MarkPQ26-Mar-02 12:19 
AnswerRe: Debug/Release problem? Pin
Tomasz Sowinski26-Mar-02 12:24
Tomasz Sowinski26-Mar-02 12:24 
GeneralRe: Debug/Release problem? Pin
MarkPQ26-Mar-02 12:30
MarkPQ26-Mar-02 12:30 
GeneralRe: Debug/Release problem? Pin
MarkPQ26-Mar-02 13:24
MarkPQ26-Mar-02 13:24 
Ok things are getting really screwey now!

I located the problem in the thread where it stops. I construct a message packet to send to the serial device with a bunch of 8 bit words. These include the address of the device and the command to execute!

On the first loop these values are correct but it appears to be trashing them on the 2nd. I looked at the reply from the trashed message and it was saying invalid address, implying to me that the values I was sending werent correct. To look at the values it was sending to the device I perform an itoa() conversion and post it in a message to my dialog to dispaly in a text box. It appears that if I run this conversion on the values with itoa . . . the program works fine!

Playing around with different things I am getting some very odd results and other things like if statements failing, but when I check the values that the satement was checking manually it should have passed!?

It sounds like I've done something I probably shouldnt have somewhere!
GeneralRe: Debug/Release problem? Pin
Sayan Mukherjee26-Mar-02 14:00
Sayan Mukherjee26-Mar-02 14:00 
GeneralRe: Debug/Release problem? Pin
MarkPQ26-Mar-02 14:00
MarkPQ26-Mar-02 14:00 
GeneralRe: Debug/Release problem? Pin
Tim Smith26-Mar-02 14:13
Tim Smith26-Mar-02 14:13 
GeneralRe: Debug/Release problem? Pin
Neville Franks31-Mar-02 0:27
Neville Franks31-Mar-02 0:27 
GeneralSearching for L Pin
albean26-Mar-02 12:03
albean26-Mar-02 12:03 
GeneralRe: Searching for L Pin
Tomasz Sowinski26-Mar-02 12:10
Tomasz Sowinski26-Mar-02 12:10 
GeneralRe: Searching for L Pin
Nemanja Trifunovic26-Mar-02 12:19
Nemanja Trifunovic26-Mar-02 12:19 
GeneralRe: Searching for L Pin
Tomasz Sowinski26-Mar-02 12:23
Tomasz Sowinski26-Mar-02 12:23 
GeneralRe: Searching for L Pin
Nemanja Trifunovic26-Mar-02 12:27
Nemanja Trifunovic26-Mar-02 12:27 
GeneralRe: Searching for L Pin
Joaquín M López Muñoz26-Mar-02 21:26
Joaquín M López Muñoz26-Mar-02 21:26 
GeneralRe: Searching for L Pin
Tim Smith27-Mar-02 2:15
Tim Smith27-Mar-02 2:15 
GeneralRe: Searching for L Pin
Joaquín M López Muñoz27-Mar-02 2:15
Joaquín M López Muñoz27-Mar-02 2:15 
QuestionClassWizard...? Pin
alex.barylski26-Mar-02 11:51
alex.barylski26-Mar-02 11:51 
AnswerRe: ClassWizard...? Pin
Tomasz Sowinski26-Mar-02 11:59
Tomasz Sowinski26-Mar-02 11:59 
GeneralRe: ClassWizard...? Pin
alex.barylski26-Mar-02 12:20
alex.barylski26-Mar-02 12:20 
GeneralRe: ClassWizard...? Pin
Tomasz Sowinski26-Mar-02 12:29
Tomasz Sowinski26-Mar-02 12:29 
GeneralRe: ClassWizard...? Pin
alex.barylski26-Mar-02 12:44
alex.barylski26-Mar-02 12:44 

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.