Click here to Skip to main content
15,922,584 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Working with dlls Pin
Kiran Pinjala24-Aug-06 1:21
Kiran Pinjala24-Aug-06 1:21 
AnswerRe: Working with dlls Pin
Cedric Moonen24-Aug-06 1:24
Cedric Moonen24-Aug-06 1:24 
AnswerRe: Working with dlls Pin
Waldermort24-Aug-06 4:19
Waldermort24-Aug-06 4:19 
GeneralRe: Working with dlls Pin
Kiran Pinjala24-Aug-06 20:04
Kiran Pinjala24-Aug-06 20:04 
QuestionRe: Working with dlls Pin
Kiran Pinjala24-Aug-06 20:57
Kiran Pinjala24-Aug-06 20:57 
AnswerRe: Working with dlls[modified] Pin
toxcct24-Aug-06 0:36
toxcct24-Aug-06 0:36 
GeneralRe: Working with dlls[modified] Pin
Kiran Pinjala24-Aug-06 0:43
Kiran Pinjala24-Aug-06 0:43 
GeneralRe: Working with dlls[modified] Pin
Don Box24-Aug-06 1:19
Don Box24-Aug-06 1:19 
GeneralRe: Working with dlls[modified] Pin
toxcct24-Aug-06 1:51
toxcct24-Aug-06 1:51 
GeneralRe: Working with dlls[modified] Pin
Hamid_RT24-Aug-06 2:07
Hamid_RT24-Aug-06 2:07 
GeneralRe: Working with dlls[modified] Pin
Kiran Pinjala24-Aug-06 2:10
Kiran Pinjala24-Aug-06 2:10 
GeneralRe: Working with dlls[modified] Pin
toxcct24-Aug-06 2:43
toxcct24-Aug-06 2:43 
QuestionCalling a ATL COM DLL interface from VBScript routine Pin
AKSIVAKUMAR23-Aug-06 23:53
AKSIVAKUMAR23-Aug-06 23:53 
AnswerRe: Calling a ATL COM DLL interface from VBScript routine Pin
uday kiran janaswamy24-Aug-06 0:35
uday kiran janaswamy24-Aug-06 0:35 
QuestionVisual Studio building whole project instead of modified files Pin
flippydeflippydebop23-Aug-06 23:45
flippydeflippydebop23-Aug-06 23:45 
AnswerRe: Visual Studio building whole project instead of modified files Pin
Michael Dunn24-Aug-06 0:14
sitebuilderMichael Dunn24-Aug-06 0:14 
GeneralRe: Visual Studio building whole project instead of modified files Pin
flippydeflippydebop24-Aug-06 0:56
flippydeflippydebop24-Aug-06 0:56 
Questionowner draw menus Pin
radhika2823-Aug-06 23:40
radhika2823-Aug-06 23:40 
AnswerRe: owner draw menus Pin
Hamid_RT23-Aug-06 23:54
Hamid_RT23-Aug-06 23:54 
GeneralRe: owner draw menus Pin
radhika2824-Aug-06 0:33
radhika2824-Aug-06 0:33 
QuestionRe: owner draw menus Pin
Hamid_RT24-Aug-06 0:57
Hamid_RT24-Aug-06 0:57 
AnswerRe: owner draw menus Pin
radhika2824-Aug-06 1:17
radhika2824-Aug-06 1:17 
GeneralRe: owner draw menus Pin
prasad_som24-Aug-06 1:22
prasad_som24-Aug-06 1:22 
GeneralRe: owner draw menus Pin
Hamid_RT24-Aug-06 1:28
Hamid_RT24-Aug-06 1:28 
GeneralRe: owner draw menus Pin
radhika2824-Aug-06 2:12
radhika2824-Aug-06 2:12 
Thanks for your suggestion i have gave the path wrong.But again some errors came.The errors came in the places where i have changed of CDialog to CNewDialog and also at the membervariable statement( m_DefaultNewMenu.LoadToolBar(IDR_MAINFRAME);) which is a statement in oninitdialog function.In the code project sample application they didnot gave the type of that member variable.The errors i got are,
E:\DownLoads\ownerdrawmenu\ownerdrawmenuDlg.cpp(64) : error C2614: 'COwnerdrawmenuDlg' : illegal member initialization: 'CNewDialog' is not a base or member
E:\DownLoads\ownerdrawmenu\ownerdrawmenuDlg.cpp(74) : error C2248: 'DoDataExchange' : cannot access protected member declared in class 'CWnd'
c:\program files\microsoft visual studio\vc98\mfc\include\afxwin.h(2414) : see declaration of 'DoDataExchange'
E:\DownLoads\ownerdrawmenu\ownerdrawmenuDlg.cpp(74) : error C2352: 'CWnd::DoDataExchange' : illegal call of non-static member function
c:\program files\microsoft visual studio\vc98\mfc\include\afxwin.h(2414) : see declaration of 'DoDataExchange'
E:\DownLoads\ownerdrawmenu\ownerdrawmenuDlg.cpp(80) : error C2248: 'messageMap' : cannot access protected member declared in class 'CNewDialog'
e:\downloads\ownerdrawmenu\newmenu.h(896) : see declaration of 'messageMap'
E:\DownLoads\ownerdrawmenu\ownerdrawmenuDlg.cpp(85) : error C2065: 'ON_WM_InitMenuPopup' : undeclared identifier
E:\DownLoads\ownerdrawmenu\ownerdrawmenuDlg.cpp(85) : error C2065: 'pMenu' : undeclared identifier
E:\DownLoads\ownerdrawmenu\ownerdrawmenuDlg.cpp(85) : error C2065: 'nIndex' : undeclared identifier
E:\DownLoads\ownerdrawmenu\ownerdrawmenuDlg.cpp(85) : error C2065: 'bSysMenu' : undeclared identifier
E:\DownLoads\ownerdrawmenu\ownerdrawmenuDlg.cpp(87) : error C2059: syntax error : '{'
E:\DownLoads\ownerdrawmenu\ownerdrawmenuDlg.cpp(87) : error C2143: syntax error : missing ';' before '{'
E:\DownLoads\ownerdrawmenu\ownerdrawmenuDlg.cpp(87) : error C2447: missing function header (old-style formal list?)
E:\DownLoads\ownerdrawmenu\ownerdrawmenuDlg.cpp(87) : error C2143: syntax error : missing ';' before '}'
E:\DownLoads\ownerdrawmenu\ownerdrawmenuDlg.cpp(94) : error C2352: 'CNewDialog::OnInitDialog' : illegal call of non-static member function
e:\downloads\ownerdrawmenu\newmenu.h(888) : see declaration of 'OnInitDialog'
E:\DownLoads\ownerdrawmenu\ownerdrawmenuDlg.cpp(121) : error C2065: 'm_DefaultNewMenu' : undeclared identifier
E:\DownLoads\ownerdrawmenu\ownerdrawmenuDlg.cpp(121) : error C2228: left of '.LoadToolBar' must have class/struct/union type
E:\DownLoads\ownerdrawmenu\ownerdrawmenuDlg.cpp(135) : error C2248: 'OnSysCommand' : cannot access protected member declared in class 'CWnd'
c:\program files\microsoft visual studio\vc98\mfc\include\afxwin.h(2330) : see declaration of 'OnSysCommand'
E:\DownLoads\ownerdrawmenu\ownerdrawmenuDlg.cpp(135) : error C2352: 'CWnd::OnSysCommand' : illegal call of non-static member function
c:\program files\microsoft visual studio\vc98\mfc\include\afxwin.h(2330) : see declaration of 'OnSysCommand'
E:\DownLoads\ownerdrawmenu\ownerdrawmenuDlg.cpp(164) : error C2248: 'OnPaint' : cannot access protected member declared in class 'CWnd'
c:\program files\microsoft visual studio\vc98\mfc\include\afxwin.h(2295) : see declaration of 'OnPaint'
E:\DownLoads\ownerdrawmenu\ownerdrawmenuDlg.cpp(164) : error C2352: 'CWnd::OnPaint' : illegal call of non-static member function
c:\program files\microsoft visual studio\vc98\mfc\include\afxwin.h(2295) : see declaration of 'OnPaint'
Error executing cl.exe.

ownerdrawmenu.exe - 19 error(s), 0 warning(s)

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.