I have a problem.
This code this within a thread.
CFrameWnd *pFrame = (CFrameWnd*)AfxGetMainWnd();
if (pFrame != NULL)
{
....
}
For some reaso, AfxGetMainWnd() returns NULL. Why is that?
Same code is working fine in evc .
Need the window to send a message
Thanks for ur help