Click here to Skip to main content
15,892,298 members

To resolve the TS_NONE: redefinition ; previous definition was enumerator

VishalK_95 asked:

Open original thread
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
Tags: MFC

Plain Text
ASM
ASP
ASP.NET
BASIC
BAT
C#
C++
COBOL
CoffeeScript
CSS
Dart
dbase
F#
FORTRAN
HTML
Java
Javascript
Kotlin
Lua
MIDL
MSIL
ObjectiveC
Pascal
PERL
PHP
PowerShell
Python
Razor
Ruby
Scala
Shell
SLN
SQL
Swift
T4
Terminal
TypeScript
VB
VBScript
XML
YAML

Preview



When answering a question please:
  1. Read the question carefully.
  2. Understand that English isn't everyone's first language so be lenient of bad spelling and grammar.
  3. If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem. Insults are not welcome.
  4. Don't tell someone to read the manual. Chances are they have and don't get it. Provide an answer or move on to the next question.
Let's work to help developers, not make them feel stupid.
Please note that all posts will be submitted under the http://www.codeproject.com/info/cpol10.aspx.



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