Click here to Skip to main content
15,867,453 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionerror C2228: left of '.m_FindNoPlat' must have class/struct/union type ???? Pin
ieyra20413-Mar-08 12:54
ieyra20413-Mar-08 12:54 
AnswerRe: error C2228: left of '.m_FindNoPlat' must have class/struct/union type ???? Pin
Mark Salsbery13-Mar-08 13:33
Mark Salsbery13-Mar-08 13:33 
GeneralRe: error C2228: left of '.m_FindNoPlat' must have class/struct/union type ???? Pin
Eytukan13-Mar-08 16:20
Eytukan13-Mar-08 16:20 
GeneralRe: error C2228: left of '.m_FindNoPlat' must have class/struct/union type ???? Pin
Mark Salsbery13-Mar-08 19:50
Mark Salsbery13-Mar-08 19:50 
GeneralRe: error C2228: left of '.m_FindNoPlat' must have class/struct/union type ???? Pin
Eytukan13-Mar-08 20:06
Eytukan13-Mar-08 20:06 
AnswerRe: error C2228: left of '.m_FindNoPlat' must have class/struct/union type ???? Pin
Stephen Hewitt13-Mar-08 14:08
Stephen Hewitt13-Mar-08 14:08 
AnswerRe: error C2228: left of '.m_FindNoPlat' must have class/struct/union type ???? Pin
David Crow13-Mar-08 16:23
David Crow13-Mar-08 16:23 
Generalstatic_cast and reinterpret_cast Pin
LCI13-Mar-08 12:06
LCI13-Mar-08 12:06 
In a dll, i start a thread using _beginthread like:

_beginthread(Mythread,0,LPVOID(this));

void MyThread(LPVOID pVoid)
{

CMyClass* pClass = static_cast<CMyClass*>(pVoid);
pClass->SetValue(1);

}

Everything works nicely until i try to access one of the member vars from CMyClass. The app begins to lock up on me. I may be missing something fundamental here. Anyone have any thoughts?
GeneralRe: static_cast and reinterpret_cast Pin
Mark Salsbery13-Mar-08 13:29
Mark Salsbery13-Mar-08 13:29 
GeneralRe: static_cast and reinterpret_cast Pin
Peter Weyzen13-Mar-08 13:57
Peter Weyzen13-Mar-08 13:57 
GeneralRe: static_cast and reinterpret_cast Pin
Eytukan13-Mar-08 16:11
Eytukan13-Mar-08 16:11 
GeneralRe: static_cast and reinterpret_cast Pin
LCI14-Mar-08 2:32
LCI14-Mar-08 2:32 
QuestionRe: static_cast and reinterpret_cast Pin
Rajkumar R14-Mar-08 3:02
Rajkumar R14-Mar-08 3:02 
GeneralRe: static_cast and reinterpret_cast Pin
LCI14-Mar-08 5:05
LCI14-Mar-08 5:05 
GeneralRe: static_cast and reinterpret_cast Pin
Rajkumar R15-Mar-08 18:59
Rajkumar R15-Mar-08 18:59 
GeneralRe: static_cast and reinterpret_cast Pin
LCI17-Mar-08 2:09
LCI17-Mar-08 2:09 
QuestionRe: static_cast and reinterpret_cast Pin
Rajkumar R17-Mar-08 4:17
Rajkumar R17-Mar-08 4:17 
GeneralRe: static_cast and reinterpret_cast Pin
LCI17-Mar-08 4:30
LCI17-Mar-08 4:30 
QuestionIdentify 32 bit binary or 64 bit binary Pin
tingu13-Mar-08 9:03
tingu13-Mar-08 9:03 
GeneralRe: Identify 32 bit binary or 64 bit binary Pin
led mike13-Mar-08 9:15
led mike13-Mar-08 9:15 
GeneralRe: Identify 32 bit binary or 64 bit binary Pin
ThatsAlok13-Mar-08 19:56
ThatsAlok13-Mar-08 19:56 
GeneralRe: Identify 32 bit binary or 64 bit binary Pin
led mike14-Mar-08 6:44
led mike14-Mar-08 6:44 
GeneralRe: Identify 32 bit binary or 64 bit binary Pin
Mark Salsbery13-Mar-08 9:16
Mark Salsbery13-Mar-08 9:16 
GeneralRe: Identify 32 bit binary or 64 bit binary Pin
led mike13-Mar-08 10:21
led mike13-Mar-08 10:21 
GeneralRe: Identify 32 bit binary or 64 bit binary Pin
Mark Salsbery13-Mar-08 10:39
Mark Salsbery13-Mar-08 10:39 

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.