multithreading

hi gurus,

i'm working on a dialog box app. i've created a separate instance of a modal dialog that i want to run alongside the underlying process...only, there's one glitch.

when i create the 2nd modal dialog, it just freezes. nothing happens to it while the underlying process is still pushing forward. i want to be able to run both at the same time. can anyone tell me how to do this? thx in advance..
[443 byte] By [seen] at [2007-11-18 17:38:02]
# 1 Re: multithreading
be more specific, or post a running sample project
Alin at 2007-11-9 13:55:49 >
# 2 Re: multithreading
I think you need to provide some code or be more specific (maybe both). Info such as:
- Are you uisng MFC (CDialog)
- Which thread function did you use to spawn off threads
- Tell us why modeless dialog boxes won't work in your case
are good thinks to know.
j0nas at 2007-11-9 13:56:49 >
# 3 Re: multithreading
[Moved thread]
Andreas Masur at 2007-11-9 13:57:59 >
# 4 Re: multithreading
hmm alright...well basically what this app does is connect to an sql database and fill out the proper tables as referenced by an imported local file. that's the main process...however, the local file can get really big, so i wanted to implement a modeless dialog that tells the user the process is running, rather than to have it running and looking like the app froze in the meantime. so what i did was this:

CImport *pImport = new CImport();

pImport->Create(IDD_MY_DIALOG);
pImport->ShowWindow(SW_SHOW);
pImport->m_text = "blah blah blah";

i have some extra code which updates the modeless dialog text as the file is being imported. does anyone know what's wrong with this? thx...
seen at 2007-11-9 13:58:54 >