Click here to Skip to main content
15,901,001 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MFC Pin
Archer2826-Mar-04 18:32
Archer2826-Mar-04 18:32 
GeneralRe: MFC Pin
Prakash Nadar6-Mar-04 20:22
Prakash Nadar6-Mar-04 20:22 
GeneralTrouble with GetLogicalDrives() function Pin
Dev5786-Mar-04 13:28
Dev5786-Mar-04 13:28 
GeneralRe: Trouble with GetLogicalDrives() function Pin
Curi0us_George6-Mar-04 13:44
Curi0us_George6-Mar-04 13:44 
GeneralP.S. Pin
Curi0us_George6-Mar-04 13:49
Curi0us_George6-Mar-04 13:49 
GeneralRe: Trouble with GetLogicalDrives() function Pin
P-Rex7-Mar-04 21:45
P-Rex7-Mar-04 21:45 
GeneralCould some please post a working example Pin
MeterMan6-Mar-04 12:40
MeterMan6-Mar-04 12:40 
GeneralRe: Could some please post a working example Pin
Curi0us_George6-Mar-04 13:10
Curi0us_George6-Mar-04 13:10 
I'm not an MFC guy at all, but I ran across this in the wincore.cpp distributed with VS.NET 2003 (line 891).

// Note: if either of the above asserts fire and you are
// writing a multithreaded application, it is likely that
// you have passed a C++ object from one thread to another
// and have used that object in a way that was not intended.
// (only simple inline wrapper functions should be used)
//
// In general, CWnd objects should be passed by HWND from
// one thread to another. The receiving thread can wrap
// the HWND with a CWnd object by using CWnd::FromHandle.
//
// It is dangerous to pass C++ objects from one thread to
// another, unless the objects are designed to be used in
// such a manner.

Looks like passing CWnd objects between threads is forbidden.

If you can post your code (or snippets), someone here might be able to tell you why it's failng.
GeneralRe: Could some please post a working example Pin
MeterMan6-Mar-04 14:04
MeterMan6-Mar-04 14:04 
GeneralRe: Could some please post a working example Pin
Curi0us_George7-Mar-04 12:02
Curi0us_George7-Mar-04 12:02 
GeneralRe: Could some please post a working example Pin
MeterMan7-Mar-04 16:12
MeterMan7-Mar-04 16:12 
GeneralRe: Could some please post a working example Pin
DougW486-Mar-04 22:44
DougW486-Mar-04 22:44 
GeneralRe: Could some please post a working example Pin
MeterMan7-Mar-04 5:28
MeterMan7-Mar-04 5:28 
GeneralRe: Could some please post a working example Pin
DougW487-Mar-04 5:53
DougW487-Mar-04 5:53 
GeneralRe: Could some please post a working example Pin
MeterMan7-Mar-04 6:09
MeterMan7-Mar-04 6:09 
GeneralRe: Could some please post a working example Pin
DougW487-Mar-04 6:52
DougW487-Mar-04 6:52 
Generaltoolbar like internet explorer Pin
asher_ungar6-Mar-04 12:32
asher_ungar6-Mar-04 12:32 
GeneralEdit Box data input and output hexadecimal formatted data Pin
Freddie Code6-Mar-04 8:45
Freddie Code6-Mar-04 8:45 
GeneralChange exe file in project Pin
Mazdak6-Mar-04 6:20
Mazdak6-Mar-04 6:20 
GeneralRe: Change exe file in project Pin
Prakash Nadar6-Mar-04 6:31
Prakash Nadar6-Mar-04 6:31 
GeneralRe: Change exe file in project Pin
Mazdak6-Mar-04 7:30
Mazdak6-Mar-04 7:30 
GeneralRe: Change exe file in project Pin
Joe Woodbury6-Mar-04 11:45
professionalJoe Woodbury6-Mar-04 11:45 
GeneralRe: Change exe file in project Pin
Mazdak6-Mar-04 20:00
Mazdak6-Mar-04 20:00 
Generalminimize to system tray Pin
Otty6-Mar-04 6:02
Otty6-Mar-04 6:02 
GeneralRe: minimize to system tray Pin
tn_dang22-Apr-04 3:21
tn_dang22-Apr-04 3:21 

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.