Click here to Skip to main content
15,908,674 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Difference between a Dll and an ActivexDll Pin
lgatcodeproject6-Nov-08 20:11
lgatcodeproject6-Nov-08 20:11 
AnswerRe: Difference between a Dll and an ActivexDll Pin
Saurabh.Garg6-Nov-08 20:21
Saurabh.Garg6-Nov-08 20:21 
GeneralRe: Difference between a Dll and an ActivexDll Pin
lgatcodeproject6-Nov-08 20:44
lgatcodeproject6-Nov-08 20:44 
GeneralRe: Difference between a Dll and an ActivexDll Pin
Saurabh.Garg6-Nov-08 21:11
Saurabh.Garg6-Nov-08 21:11 
Questiongrab the result from sql query using visual c++ 2003 Pin
Arif Liminto6-Nov-08 17:13
professionalArif Liminto6-Nov-08 17:13 
QuestionMultiple Windows Threads Pin
Bram van Kampen6-Nov-08 14:46
Bram van Kampen6-Nov-08 14:46 
AnswerRe: Multiple Windows Threads Pin
Mark Salsbery6-Nov-08 15:13
Mark Salsbery6-Nov-08 15:13 
GeneralRe: Multiple Windows Threads Pin
Bram van Kampen6-Nov-08 16:54
Bram van Kampen6-Nov-08 16:54 
Mark Salsbery wrote:
1) You're creating a worker thread when you need a UI thread.



The Thread starts off as a worker thread, but calls it's own WinProc as part of calling the second Dlg.DoModal(). Tried this by calling a UI thread, Same result.


Mark Salsbery wrote:
2) How are you going to close the WaitDlg if it's in a modal loop?




By Setting a Flag, and, by calling EndDialog(...) for the Dlg when the next itteration of the (Not Shown) Outer loop calls the appropriate routine.



Mark Salsbery wrote:
The code that locks up - where is that, on what thread is it executing, and
what is hWndParent?


The locking Code is on the Second thread, trying to run WaitDlg.DoModal()


HISTORY

Opening Files on a network, fails if already open on other app.(Data Collision) The canonical access routine contains an endless loop which tries to open, sleeps for 100 msec, and tries again. (does so with multiple filesin a predetermined order) After 50 such tries on a single File, it gives a RetryCancel MsgBox. All obvious reasons for failure have at this stage been dealt with, we're dealing with the default.Experience shows that 'Retry' will solve it. I now want to replace the box with a Dialog: System is busy, with a cancel button, and which automatically returns 'IDRETRY' after say 500 msec.

Thanks,
Smile | :)

Bram van Kampen

GeneralRe: Multiple Windows Threads Pin
Mark Salsbery7-Nov-08 3:43
Mark Salsbery7-Nov-08 3:43 
GeneralRe: Multiple Windows Threads Pin
Bram van Kampen8-Nov-08 13:20
Bram van Kampen8-Nov-08 13:20 
GeneralRe: Multiple Windows Threads Pin
Mark Salsbery8-Nov-08 14:46
Mark Salsbery8-Nov-08 14:46 
GeneralRe: Multiple Windows Threads Pin
Bram van Kampen16-Nov-08 13:21
Bram van Kampen16-Nov-08 13:21 
Question2D Arrays Pin
livin lie6-Nov-08 11:47
livin lie6-Nov-08 11:47 
AnswerRe: 2D Arrays Pin
Saurabh.Garg6-Nov-08 15:16
Saurabh.Garg6-Nov-08 15:16 
QuestionRe: 2D Arrays Pin
David Crow6-Nov-08 16:45
David Crow6-Nov-08 16:45 
AnswerRe: 2D Arrays Pin
livin lie7-Nov-08 6:21
livin lie7-Nov-08 6:21 
QuestionTutorial Object Array Pin
Reagan Conservative6-Nov-08 9:02
Reagan Conservative6-Nov-08 9:02 
AnswerRe: Tutorial Object Array Pin
sashoalm6-Nov-08 10:18
sashoalm6-Nov-08 10:18 
GeneralRe: Tutorial Object Array Pin
Reagan Conservative6-Nov-08 11:22
Reagan Conservative6-Nov-08 11:22 
QuestionI need help with my program, new c++ programmer Pin
OverdoS6-Nov-08 7:56
OverdoS6-Nov-08 7:56 
QuestionRe: I need help with my program, new c++ programmer Pin
David Crow6-Nov-08 8:17
David Crow6-Nov-08 8:17 
AnswerRe: I need help with my program, new c++ programmer Pin
CPallini6-Nov-08 10:30
mveCPallini6-Nov-08 10:30 
AnswerRe: I need help with my program, new c++ programmer Pin
led mike6-Nov-08 8:52
led mike6-Nov-08 8:52 
QuestionShellExecute/Browser problem Pin
Leslie Sanford6-Nov-08 6:19
Leslie Sanford6-Nov-08 6:19 
AnswerRe: ShellExecute/Browser problem Pin
Renjith Ramachandran6-Nov-08 7:51
Renjith Ramachandran6-Nov-08 7:51 

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.