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

C / C++ / MFC

 
GeneralMessageBox crash Pin
17-Apr-02 8:40
suss17-Apr-02 8:40 
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 
Just a thought here - I think it might not be a good idea to use a messagebox in this context. I've worked on code that had some very strange things happen when message boxes were invoked 'asynchronously' wrt the main user gui.

Consider what would happen if a 'proper' message box were on screen (by 'proper' I mean used in response to a user 'action' - validation etc) and another thread popped up a message box. First, neither mb will have proper app modality, allowing the user to do all manner of 'things they shouldn't do'. Also, the serialization of messages in the queue seems to get messed up with in ways that are almost impossible to trace.

You could ship a 'debug' app - which would enable you to use an assert dialog, but I think its better to have some designated status bar or dialog for this type of alert.

Just my 2 cents, and I could be missing something.
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 
GeneralAVIStreamGetFrame Pin
17-Apr-02 8:11
suss17-Apr-02 8:11 
GeneralRe: AVIStreamGetFrame Pin
Mike Nordell17-Apr-02 8:18
Mike Nordell17-Apr-02 8:18 
GeneralRe: AVIStreamGetFrame Pin
18-Apr-02 1:05
suss18-Apr-02 1:05 
Generalinterprocess communication Pin
17-Apr-02 8:07
suss17-Apr-02 8:07 
GeneralRe: interprocess communication Pin
Mike Nordell17-Apr-02 8:09
Mike Nordell17-Apr-02 8:09 
GeneralRe: interprocess communication Pin
Ted Christiansen17-Apr-02 8:47
Ted Christiansen17-Apr-02 8:47 
GeneralPrime Numbers Pin
17-Apr-02 7:39
suss17-Apr-02 7:39 

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.