thnx for the help
i wrote the following code
Code:
BEGIN_OLECMD_MAP(CWebBrowser2, CWnd)
ON_OLECMD(CGID_DocHostCommandHandler,OLECMDID_SHOWSCRIPTERROR,ID_JAVA_ERROR_SUPPRESS)
//ID_JAVA_ERROR_SUPPRESS = ID of the WM_COMMAND message to be sent to the application containing the command map when this OLE command is invoked.
END_OLECMD_MAP()
and got undeclared identifier for the macros "ON_OLECMD" and many other stuff
Code:
webbrowser2.cpp(13) : error C2065: 'ON_OLECMD' : undeclared identifier
webbrowser2.cpp(13) : error C2065: 'CGID_DocHostCommandHandler' : undeclared identifier
webbrowser2.cpp(13) : error C2065: 'OLECMDID_SHOWSCRIPTERROR' : undeclared identifier
webbrowser2.cpp(13) : error C2065: 'ID_JAVA_ERROR_SUPPRESS' : undeclared identifier
is there something wrong here? please help =(
it would be good if there are sample or example codes around
Bookmarks