Click here to Skip to main content
16,009,112 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Single Instance Dialog Box Pin
26-Jun-02 20:20
suss26-Jun-02 20:20 
General"an unknown error occurred while accessing an unnamed file" Pin
Dean Michaud26-Jun-02 11:12
Dean Michaud26-Jun-02 11:12 
GeneralRe: "an unknown error occurred while accessing an unnamed file" Pin
Ancient Dragon26-Jun-02 14:16
Ancient Dragon26-Jun-02 14:16 
GeneralAny Idea why? .... Pin
JohnnyG26-Jun-02 10:29
JohnnyG26-Jun-02 10:29 
GeneralRe: Any Idea why? .... Pin
jbarton26-Jun-02 11:09
jbarton26-Jun-02 11:09 
GeneralRe: Any Idea why? .... Pin
JohnnyG26-Jun-02 14:14
JohnnyG26-Jun-02 14:14 
GeneralRe: Any Idea why? .... Pin
Roger Allen26-Jun-02 13:28
Roger Allen26-Jun-02 13:28 
GeneralRe: Any Idea why? .... Pin
JohnnyG27-Jun-02 3:59
JohnnyG27-Jun-02 3:59 
You were right and John Barton's suggestion helped me identify the problem though I still have to find out why. Apparently, that element in the array gets overwritten when I'm using strtok() on some other data. I'm not sure if it's because I'm using strtok in a thread or if I'm doing some bad pointer arithmetic.

I use strtok on a buffer and then later do...

*(p - 1) = ' ';

because I need to place spaces back into the buffer so that I can look for two spaces. It could be that statement. Anyways, thanks for the help, guys.
GeneralRe: Any Idea why? .... Pin
Bill Wilson27-Jun-02 10:25
Bill Wilson27-Jun-02 10:25 
GeneralRe: Any Idea why? .... Pin
JohnnyG27-Jun-02 14:35
JohnnyG27-Jun-02 14:35 
GeneralRe: Any Idea why? .... Pin
Ramu Pulipati26-Jun-02 18:19
Ramu Pulipati26-Jun-02 18:19 
GeneralRe: Any Idea why? .... Pin
JohnnyG27-Jun-02 14:28
JohnnyG27-Jun-02 14:28 
GeneralRe: Any Idea why? .... Pin
Ramu Pulipati27-Jun-02 17:34
Ramu Pulipati27-Jun-02 17:34 
GeneralRe: Any Idea why? .... Pin
JohnnyG28-Jun-02 3:24
JohnnyG28-Jun-02 3:24 
GeneralRe: Any Idea why? .... Pin
JohnnyG27-Jun-02 14:40
JohnnyG27-Jun-02 14:40 
GeneralRe: Any Idea why? .... Pin
JohnnyG28-Jun-02 3:26
JohnnyG28-Jun-02 3:26 
GeneralCapturing the event Pin
26-Jun-02 9:28
suss26-Jun-02 9:28 
GeneralRe: Capturing the event Pin
Ramu Pulipati26-Jun-02 18:32
Ramu Pulipati26-Jun-02 18:32 
Generalm_hWnd Pin
Anthony988726-Jun-02 9:08
Anthony988726-Jun-02 9:08 
GeneralRe: m_hWnd Pin
Joaquín M López Muñoz26-Jun-02 9:32
Joaquín M López Muñoz26-Jun-02 9:32 
GeneralData Transfer: DLL -> VB (UDT Array with Strings) Pin
Ryan B.26-Jun-02 8:58
Ryan B.26-Jun-02 8:58 
GeneralDialogue Bitmaps Pin
EBerlin26-Jun-02 8:52
EBerlin26-Jun-02 8:52 
GeneralRe: Dialogue Bitmaps Pin
Christian Graus26-Jun-02 12:12
protectorChristian Graus26-Jun-02 12:12 
GeneralRe: Dialogue Bitmaps Pin
EBerlin27-Jun-02 7:09
EBerlin27-Jun-02 7:09 
GeneralRe: Dialogue Bitmaps Pin
Christian Graus27-Jun-02 11:07
protectorChristian Graus27-Jun-02 11:07 

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.