Click here to Skip to main content
Rate this: bad
good
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
 
//stdafx.h
 

........
 
#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,
 
VishalK_95
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
0 OriginalGriff 484
1 Peter Leow 443
2 Sergey Alexandrovich Kryukov 288
3 Kornfeld Eliyahu Peter 270
4 Maciej Los 230


Advertise | Privacy | Mobile
Web03 | 2.8.150301.1 | Last Updated 28 Aug 2012
Copyright © CodeProject, 1999-2015
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