Using CDOEXM
Exchange Server Forum Index Exchange Server
Discussion forums for Microsoft Exchange Server users.
Microsoft Outlook
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web ExchangeServerHelp.com
Using CDOEXM

 
Post new topic   Reply to topic    Exchange Server Forum Index -> Development
Author Message
Raj
Guest





Posted: Sun Jan 23, 2005 2:37 am    Post subject: Using CDOEXM Reply with quote

I am getting the Following Error when using the CDOEXM:

c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\Include\cdoex.h(14861) : warning C4099: 'Folder' : type
name first seen using 'struct' now seen using 'class'
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\Include\ShlDisp.h(2364) : see declaration of 'Folder'
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\Include\cdoex.h(14861) : error C3121: cannot change GUID
for class 'Folder'
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\Include\ShlDisp.h(2364) : see declaration of 'Folder'

I have including the following headers:
#include "cdoexm.h"
#include "cdoexm_i.c"
#include "activeds.h"
#include "cdoexstr.h"
#include "cdoexerr.h"

Thanks,

Back to top
Dan Mitchell
Guest





Posted: Tue Jan 25, 2005 2:37 am    Post subject: Re: Using CDOEXM Reply with quote

=?Utf-8?B?UmFq?= <Raj@discussions.microsoft.com> wrote in
news:DBB63B93-4E45-46BE-9513-3741F529C5FB@microsoft.com:
Quote:
I have including the following headers:
#include "cdoexm.h"
#include "cdoexm_i.c"
#include "activeds.h"
#include "cdoexstr.h"
#include "cdoexerr.h"

I'd suggest using #import to handle the header/wrapper class generation.

http://support.microsoft.com/default.aspx?scid=kb;en-us;293339

is a sample that does this.

-- dan
Back to top
 
Post new topic   Reply to topic    Exchange Server Forum Index -> Development All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server Dedicated Servers
Contact Us
New Topics Powered by phpBB