Click here to Skip to main content
15,922,007 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem with pointer to function Pin
Yongjun Pan8-Sep-03 18:39
Yongjun Pan8-Sep-03 18:39 
GeneralSetting time interval for timer event in Console app Pin
haritadala8-Sep-03 2:21
haritadala8-Sep-03 2:21 
GeneralRe: Setting time interval for timer event in Console app Pin
David Crow8-Sep-03 3:31
David Crow8-Sep-03 3:31 
GeneralRe: Setting time interval for timer event in Console app Pin
haritadala8-Sep-03 4:00
haritadala8-Sep-03 4:00 
GeneralRe: Setting time interval for timer event in Console app Pin
David Crow8-Sep-03 4:10
David Crow8-Sep-03 4:10 
GeneralRe: Setting time interval for timer event in Console app Pin
haritadala8-Sep-03 4:15
haritadala8-Sep-03 4:15 
GeneralSEH problem between debug and release version Pin
crazyzhou8-Sep-03 1:51
crazyzhou8-Sep-03 1:51 
GeneralRe: SEH problem between debug and release version Pin
Brad Sokol8-Sep-03 4:24
Brad Sokol8-Sep-03 4:24 
You need to provide a bit more context about your code.

That said, I ran into something similar which may be the problem you're having. I had code similar to this:

int* pi = NULL;<br />
int i = *pi; // Generates an access violation


In debug builds, an exception was thrown from my SE handler and caught, but not in release builds. As it turned out, in release builds, the optimiser was correctly removing this code because it had no effect. D'Oh! | :doh:

Not sure what you're doing, but if it's simple test case like mine, you might want to turn off the optimiser for that block of code:

#pragma optimize("", off)

Brad
GeneralErrors in handle parent dialog send message to a modeless dialog Pin
Jeef8-Sep-03 0:18
Jeef8-Sep-03 0:18 
Generalpointer var Pin
macmac388-Sep-03 0:11
macmac388-Sep-03 0:11 
GeneralRe: pointer var Pin
Alexander M.,8-Sep-03 0:29
Alexander M.,8-Sep-03 0:29 
GeneralRe: pointer var Pin
macmac388-Sep-03 0:41
macmac388-Sep-03 0:41 
GeneralRe: pointer var Pin
jhwurmbach8-Sep-03 1:23
jhwurmbach8-Sep-03 1:23 
GeneralGUI database query Pin
coda_x8-Sep-03 0:08
coda_x8-Sep-03 0:08 
GeneralRe: GUI database query Pin
David Crow8-Sep-03 3:35
David Crow8-Sep-03 3:35 
GeneralCHttpView - Viewing and modifing post header Pin
Brian Delahunty8-Sep-03 0:07
Brian Delahunty8-Sep-03 0:07 
GeneralSpeed of Templates vs. Non-Templates Pin
RichardS7-Sep-03 23:44
RichardS7-Sep-03 23:44 
GeneralRe: Speed of Templates vs. Non-Templates Pin
Andrew Walker8-Sep-03 0:24
Andrew Walker8-Sep-03 0:24 
GeneralRe: Speed of Templates vs. Non-Templates Pin
RichardS8-Sep-03 1:37
RichardS8-Sep-03 1:37 
GeneralRe: Speed of Templates vs. Non-Templates Pin
antlers9-Sep-03 9:40
antlers9-Sep-03 9:40 
QuestionCan not find class Pin
wow99997-Sep-03 21:49
wow99997-Sep-03 21:49 
AnswerRe: Can not find class Pin
jhwurmbach8-Sep-03 1:27
jhwurmbach8-Sep-03 1:27 
AnswerRe: Can not find class Pin
David Crow8-Sep-03 3:39
David Crow8-Sep-03 3:39 
AnswerRe: Can not find class Pin
imsniper8-Sep-03 3:50
imsniper8-Sep-03 3:50 
QuestionSQL Connect error???? Pin
xxhimanshu7-Sep-03 20:05
xxhimanshu7-Sep-03 20:05 

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.