COleDateTime::GetCurrentTime when used with Other than Main Thread Gives Exception and strange behaviour
I am using a Thread like this...
On the line date2 = COleDateTime::GetCurrentTime();
When i use F11 to switch into the function
it moves the execution to
BOOL CHtmlView::GetTheaterMode() const
although i am using a Dialog Based application
I found a solution to the above problem
by Using MFC in a static library
it works fine
Using MFC as dynamic link library
the above problem pops up
Also calling or not calling
in the thread has no change in the above problem
The above solution is also not permanent
It fails in my other application in which i am trying to use it.
Is is mean that we can't use COleDateTime in other than main thread ?