Displaying 1 result from an estimated 1 matches for "nowstr".
Did you mean:
nowster
2012 Mar 22
1
Page fault with MFC42.DLL
...t;
#include "afxole.h"
Code:
int APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow)
{
COleDateTime curTime;
curTime=COleDateTime::GetCurrentTime();
CString nowStr;
nowStr=curTime.Format("'%c'"); /* CRASHES HERE */
printf("%s\n",nowStr);
return 0;
}
My setup is as follows:
1. Build environment.
Visual Studio 6 Service Pack 6
2. Run environment
- Fresh Ubuntu 10.10 install (have tested with 10.04 / 11.04 with sam...