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

C / C++ / MFC

 
GeneralGet the Class Name Pin
Gaurika Wijeratne13-Oct-02 7:21
Gaurika Wijeratne13-Oct-02 7:21 
GeneralRe: Get the Class Name Pin
pankajdaga13-Oct-02 10:12
pankajdaga13-Oct-02 10:12 
GeneralRe: Get the Class Name Pin
alex.barylski13-Oct-02 16:30
alex.barylski13-Oct-02 16:30 
GeneralRe: Get the Class Name Pin
alex.barylski13-Oct-02 16:57
alex.barylski13-Oct-02 16:57 
GeneralThreads problem ... Pin
BlackKettle13-Oct-02 5:16
BlackKettle13-Oct-02 5:16 
GeneralRe: Threads problem ... Pin
Stephane Rodriguez.13-Oct-02 5:36
Stephane Rodriguez.13-Oct-02 5:36 
GeneralRe: Threads problem ... Pin
BlackKettle13-Oct-02 6:43
BlackKettle13-Oct-02 6:43 
GeneralRe: Threads problem ... Pin
Al Giv.13-Oct-02 7:08
sussAl Giv.13-Oct-02 7:08 
a possible solution:

in your example, the DRAWERSUB structure is defined on the stack...
So when you call the AfxBeginThread, the struct is valid. but before the thread starts, the method which called AfxbeginThread might end, and release the stack memory of the DRAWERSUB...
solution: either allocate it on the HEAP (using HeapAlloc) or make it a member variable of CGraphicFunc (but then you can only create one copy of the thread).

GeneralShare variable into DLL Pin
Raphael Kindt13-Oct-02 5:06
Raphael Kindt13-Oct-02 5:06 
GeneralRe: Share variable into DLL Pin
Stephane Rodriguez.13-Oct-02 5:40
Stephane Rodriguez.13-Oct-02 5:40 
GeneralRe: Share variable into DLL Pin
Joaquín M López Muñoz13-Oct-02 8:48
Joaquín M López Muñoz13-Oct-02 8:48 
GeneralDumb question... Copying derived class from base class pointer Pin
work_to_live13-Oct-02 3:44
work_to_live13-Oct-02 3:44 
GeneralRe: Dumb question... Copying derived class from base class pointer Pin
Nish Nishant13-Oct-02 4:18
sitebuilderNish Nishant13-Oct-02 4:18 
GeneralRe: Dumb question... Copying derived class from base class pointer Pin
Nish Nishant13-Oct-02 4:23
sitebuilderNish Nishant13-Oct-02 4:23 
GeneralRe: Dumb question... Copying derived class from base class pointer Pin
Joaquín M López Muñoz13-Oct-02 4:29
Joaquín M López Muñoz13-Oct-02 4:29 
GeneralMySQL Inserting data Pin
Anonymous13-Oct-02 3:20
Anonymous13-Oct-02 3:20 
GeneralRe: MySQL Inserting data Pin
Nish Nishant13-Oct-02 3:31
sitebuilderNish Nishant13-Oct-02 3:31 
GeneralRe: MySQL Inserting data Pin
Anonymous13-Oct-02 10:45
Anonymous13-Oct-02 10:45 
GeneralGetting DNS Server IP Pin
Al Giv.13-Oct-02 0:19
sussAl Giv.13-Oct-02 0:19 
GeneralRe: Getting DNS Server IP Pin
Anders Molin13-Oct-02 0:29
professionalAnders Molin13-Oct-02 0:29 
GeneralQuery about how to pass a control's Identification through its Message parameters Pin
12-Oct-02 22:17
suss12-Oct-02 22:17 
GeneralA beginner's confusion. Pin
zhoujun12-Oct-02 21:33
zhoujun12-Oct-02 21:33 
GeneralRe: A beginner's confusion. Pin
Shog912-Oct-02 21:38
sitebuilderShog912-Oct-02 21:38 
GeneralRe: A beginner's confusion. Pin
zhoujun12-Oct-02 22:00
zhoujun12-Oct-02 22:00 
GeneralRe: A beginner's confusion. Pin
Shog913-Oct-02 5:08
sitebuilderShog913-Oct-02 5:08 

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.