Please set your complier optimization option to “Disabled” and try
Binu MD
Posts
-
Error CXX0052: Member function not found -
Compiler Question: Use of MFC : Use Standard Windows LibrariesHi Deep, Your understanding is almost correct. From visual studio project settings we can select 3 options "Use Standard Windows Libraries", "Use MFC in a Static Library"and "Use MFC in a Shared DLL". The first one[Use Standard Windows Libraries] is used when we had an application or a dll that did not require MFC class or framework support. For example a console application or pure c++ libraries or a win32 application or a C application etc. The second and third options are used where we need MFC class or framework support e.g: MFC dialog application, MFC SDI or MDI application or applications using CString etc. The difference between "Use MFC in a Static Library"and "Use MFC in a Shared DLL" is given below in simple sentence. If you need to run your application in another computer that did not had a Visual Studio run time, you should choose static library other wise use shared dll. And you can find more difference between these two from net http://msdn.microsoft.com/en-us/library/1ez7dh12(v=vs.80).aspx[^] http://stackoverflow.com/questions/2652679/regular-dll-using-mfc-shared-vs-mfc-statically-linked[^]
-
vs 2008 to vs2010Am really sorry, am new to this session
-
vs 2008 to vs2010Dear friend don't worry it is a normal issue. The solution is available at http://connect.microsoft.com/VisualStudio/feedback/details/527167/upgraded-2008-project-compile-error-filetracker-dll[^]
-
CreateWindowEx, DestroyWindow, CreateWindowExthanks for ur reply, use this code snippet .......... static bool reg =false; WNDCLASSEX wcex; wcex.cbSize = sizeof(WNDCLASSEX); wcex.style = CS_HREDRAW | CS_VREDRAW; wcex.lpfnWndProc = WndProc; wcex.cbClsExtra = 0; wcex.cbWndExtra = 0; wcex.hInstance = hInstance; wcex.hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_APPLICATION)); wcex.hCursor = LoadCursor(NULL, IDC_ARROW); wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW+1); wcex.lpszMenuName = NULL; wcex.lpszClassName = szWindowClass; wcex.hIconSm = LoadIcon(wcex.hInstance, MAKEINTRESOURCE(IDI_APPLICATION)); if( reg ) { UnregisterClass(szWindowClass, hInstance ); } if (!RegisterClassEx(&wcex)) { MessageBox(NULL, _T("Call to RegisterClassEx failed!"), _T("Win32 Guided Tour"), NULL); return 1; } reg = true; .............
-
CreateWindowEx, DestroyWindow, CreateWindowExcould you post the CreateWindowEx() code snippet :)
-
Unable to update DoDataExchange method : VS 2000 Project converted to Visual Studio 2008 or VS 2010Could you upload the header and cpp file of dialog class ?
-
vs 2008 to vs2010Dear friend don't worry it is a normal issue. The solution is available at http://connect.microsoft.com/VisualStudio/feedback/details/527167/upgraded-2008-project-compile-error-filetracker-dll