Click here to Skip to main content
12,818,664 members (27,448 online)
Rate this:
Please Sign up or sign in to vote.
See more: MFC
Dear All,

In my MFC Application, when I build Source code in during which I have got error ,

error C2365: 'TS_NONE' : redefinition; previous definition was 'enumerator' in the following path,

c:\sorcecode\migration to vc2010 fresh code\siso\release\mmi\cfx4032.tlh

Although on verification it seems to be ActiveX Controls, and its being referred in the below file



#import "sfxbar.dll" no_namespace no_implementation
#import "Cfx4032.ocx" no_namespace no_implementation


Is It that I should register ChartFx98.OCX using regsvr32 ?,

prior to this, since it is basically migration project(VC6 to VS2010), I tried to build the vsmyproj.dsw in VS2010, Please let me know how could I resolve the error,

Thanks in advance.

I am using Windows7 O/S, VS2010 IDE for development.

With Regards,

Posted 27-Aug-12 21:57pm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170308.1 | Last Updated 28 Aug 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100