i am new to MFC programming, i have to create a simple GUI interface and was attempting a tutorial from a lecturer but it is not working...
it keeps coming up with an error -
'CFrameWnd::Create' : cannot convert parameter 2 from 'const char ' to 'LPCTSTR'
this is my code
//this is the file lab9.cpp#include
"C:Documents and SettingsAdministratorMy DocumentsMFClab9lab9.h"
//define our window constructor
//Call CframWnd's creator() function
m_pMainWnd = new COurWin;
this is my header file
// This is the file lab9.h
// Include standard windows functions and classes #include
// We always derive classes from the main MFC classes
// Derive main window class
class COurWin:public CFrameWnd
// We shall want control over construction
// We must declare the message map - no semi-colon
// Derive application class
class COurApp : public CWinApp
// We need to override InitInstance()
can anyone give any answers to why it is creating this error!!
and i would ask my lecturer but h is away for a week and i need this assignment started