Try to use the pView pointer as an argument pParam to AfxBeginThread call.
From worker threads (that is, other than main threads), AfxGetMainWnd may fail.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 4 of 4
Threaded View
|
Click Here to Expand Forum to Full Width |