cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
120
Views
0
Helpful
0
Comments
cdnadmin
Community Member
This document was generated from CDN thread

Created by: Camelia Suciu on 29-10-2009 03:28:37 PM
I'm using Visual Studio 2003 and the CTIOS 7.1 C++ SDK.
 
I'm getting a compile error: 'CSyncObject' class type redefinition in SyncObject.h.
The CSyncObject type is also defined in afxmt.h.
 
Any idea how to resolve this conflict?
 
Many thanks.

Subject: RE: New Message from Camelia Suciu in Computer Telephony Integration Object
Replied by: David Lender on 29-10-2009 06:14:26 PM
is your project configured to "Use MFC in a shared dll"?

Subject: RE: New Message from Camelia Suciu in Computer Telephony Integration Object
Replied by: Camelia Suciu on 30-10-2009 09:43:31 AM
Hi David,
 
My application is a Win32 dialog based application using MFC in a shared DLL.
 
The conflict is caused by including other header files in my projects that include afxmt.h, where CSyncObject type is also defined. I need to include those header files, so I guess I will have to find a work around.
 
I think it is really unfortunate for some of the Cisco types to have the same name as the MFC types, as surely developers are very likely to use MFC.
 
Any suggestions?
 
Thanks.
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links