D
Dkds.Naidu
Hi,
I am developing ATL COM Addin for Microsoft Outlook with MFC support .
Now I have to insert one ATL Dialog box into my appliation. I created one new
ATL Dialog box object through Miscelleneous category. After inserting dialog
box, just I rebuild my application. I have gotten errors. I dont know how to
solve this problem?
HEADER FILES LIST OF STDAFX.H:
#include <afxwin.h>
#include <afxdisp.h>
#include <atlbase.h>
extern CComModule _Module;
#include <atlcom.h>
#include <atlwin.h>
#include <mapi.h>
#include <EDK.H>
#include <mapiform.h>
#include <initguid.h>
#include <mapitags.h>
HEADER FILES LIST OF MYDLG.H:
#include "resource.h"
#include <atlhost.h>
HEADER FILES LIST OF MYDLG.CPP:
#include "stdafx.h"
#include "MyDlg.h"
THIS IS THE ERROR LIST:
--------------------Configuration: OutLook_Addin - Win32 Release
MinSize--------------------
Compiling...
MyDlg.cpp
F:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDE\atlhost.h(676) :
warning C4003: not enough actual parameters for macro 'SubclassWindow'
F:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDE\atlhost.h(779) :
warning C4003: not enough actual parameters for macro 'SubclassWindow'
F:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDE\atlhost.h(1725) :
warning C4003: not enough actual parameters for macro 'SubclassWindow'
F:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDE\atlhost.h(1725) :
error C2629: unexpected 'void ('
F:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDE\atlhost.h(1725) :
error C2334: unexpected token(s) preceding '{'; skipping apparent function
body
F:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDE\atlhost.h(1727) :
warning C4003: not enough actual parameters for macro 'SubclassWindow'
Error executing cl.exe.
MyDlg.obj - 2 error(s), 4 warning(s)
Thanks in advance.
With regares,
I am developing ATL COM Addin for Microsoft Outlook with MFC support .
Now I have to insert one ATL Dialog box into my appliation. I created one new
ATL Dialog box object through Miscelleneous category. After inserting dialog
box, just I rebuild my application. I have gotten errors. I dont know how to
solve this problem?
HEADER FILES LIST OF STDAFX.H:
#include <afxwin.h>
#include <afxdisp.h>
#include <atlbase.h>
extern CComModule _Module;
#include <atlcom.h>
#include <atlwin.h>
#include <mapi.h>
#include <EDK.H>
#include <mapiform.h>
#include <initguid.h>
#include <mapitags.h>
HEADER FILES LIST OF MYDLG.H:
#include "resource.h"
#include <atlhost.h>
HEADER FILES LIST OF MYDLG.CPP:
#include "stdafx.h"
#include "MyDlg.h"
THIS IS THE ERROR LIST:
--------------------Configuration: OutLook_Addin - Win32 Release
MinSize--------------------
Compiling...
MyDlg.cpp
F:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDE\atlhost.h(676) :
warning C4003: not enough actual parameters for macro 'SubclassWindow'
F:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDE\atlhost.h(779) :
warning C4003: not enough actual parameters for macro 'SubclassWindow'
F:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDE\atlhost.h(1725) :
warning C4003: not enough actual parameters for macro 'SubclassWindow'
F:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDE\atlhost.h(1725) :
error C2629: unexpected 'void ('
F:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDE\atlhost.h(1725) :
error C2334: unexpected token(s) preceding '{'; skipping apparent function
body
F:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDE\atlhost.h(1727) :
warning C4003: not enough actual parameters for macro 'SubclassWindow'
Error executing cl.exe.
MyDlg.obj - 2 error(s), 4 warning(s)
Thanks in advance.
With regares,