Click here to Skip to main content
15,895,084 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900