Click here to Skip to main content
15,909,091 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: A CPropertySheet, a CPropertyPage and a thread. Oh dear. Pin
Joaquín M López Muñoz17-Apr-02 9:57
Joaquín M López Muñoz17-Apr-02 9:57 
QuestionCombo Box Uneditable? Pin
17-Apr-02 9:06
suss17-Apr-02 9:06 
AnswerRe: Combo Box Uneditable? Pin
Shog917-Apr-02 9:10
sitebuilderShog917-Apr-02 9:10 
GeneralRe: Combo Box Uneditable? Pin
17-Apr-02 9:14
suss17-Apr-02 9:14 
GeneralCArchive, Serialization and Versions Pin
Ted Christiansen17-Apr-02 8:44
Ted Christiansen17-Apr-02 8:44 
GeneralRe: CArchive, Serialization and Versions Pin
Mike Nordell17-Apr-02 8:47
Mike Nordell17-Apr-02 8:47 
GeneralRe: CArchive, Serialization and Versions Pin
Joaquín M López Muñoz17-Apr-02 8:58
Joaquín M López Muñoz17-Apr-02 8:58 
GeneralMessageBox crash Pin
17-Apr-02 8:40
suss17-Apr-02 8:40 
I have an application that is very memory intensive being used with other applications that are also very memory intensive. I execute the code that allocates memory in a try/catch block so that I catch any problems that may occur. The problem is that when I try to display a message box to inform the user what happened, my application crashes when MessageBox ultimately calls AfxCallWndProc with a NULL pointer. After looking in wincore.cpp, I was able to see the problem is the FromHandlePermanent call in AfxWndProc returns NULL, and AfxCallWndProc proceeds to used that NULL pointer to call WindowProc. Since the window pointer is NULL, the WindowProc call crashes my app. Is there any way around this short of try/catching all of my AfxMessageBox calls???
GeneralRe: MessageBox crash Pin
Joaquín M López Muñoz17-Apr-02 8:42
Joaquín M López Muñoz17-Apr-02 8:42 
GeneralRe: MessageBox crash Pin
17-Apr-02 8:54
suss17-Apr-02 8:54 
GeneralRe: MessageBox crash Pin
Joaquín M López Muñoz17-Apr-02 9:00
Joaquín M López Muñoz17-Apr-02 9:00 
GeneralRe: MessageBox crash Pin
17-Apr-02 9:30
suss17-Apr-02 9:30 
GeneralRe: MessageBox crash Pin
Joaquín M López Muñoz17-Apr-02 9:37
Joaquín M López Muñoz17-Apr-02 9:37 
GeneralRe: MessageBox crash Pin
Mike Nordell17-Apr-02 8:52
Mike Nordell17-Apr-02 8:52 
GeneralRe: MessageBox crash Pin
Tim Deveaux17-Apr-02 11:06
Tim Deveaux17-Apr-02 11:06 
GeneralCommerce Server 2000 Pipeline DLL Pin
Ollie17-Apr-02 8:33
Ollie17-Apr-02 8:33 
GeneralRe: Commerce Server 2000 Pipeline DLL Pin
Le centriste17-Apr-02 9:46
Le centriste17-Apr-02 9:46 
GeneralVisual Studio .net Pin
Member 9617-Apr-02 8:25
Member 9617-Apr-02 8:25 
GeneralRe: Visual Studio .net Pin
Mazdak17-Apr-02 8:32
Mazdak17-Apr-02 8:32 
GeneralRe: Visual Studio .net Pin
Mike Nordell17-Apr-02 8:45
Mike Nordell17-Apr-02 8:45 
GeneralRe: Visual Studio .net Pin
Mazdak17-Apr-02 8:57
Mazdak17-Apr-02 8:57 
GeneralRe: Visual Studio .net Pin
Mike Nordell17-Apr-02 9:03
Mike Nordell17-Apr-02 9:03 
GeneralRe: Visual Studio .net Pin
Mazdak17-Apr-02 9:24
Mazdak17-Apr-02 9:24 
GeneralRe: Visual Studio .net Pin
Shog917-Apr-02 9:13
sitebuilderShog917-Apr-02 9:13 
GeneralRe: Visual Studio .net Pin
Pavel Sokolov17-Apr-02 10:20
Pavel Sokolov17-Apr-02 10:20 

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.