Hi
I have a project that was written in VC++ 6.0 and compiles fine in that, but if I try to compile it under Visual Studio .NET, everything breaks. I managed to fix some of it by fiddling with the precompiled header options in the project settings, but that's as far as I can get it. These are the new errors that I am getting, that I shouldn't be getting.
c:\Msdev\Projects\genmacro
kern\Macro
WindowFunc
s.cpp(1193
): error C2663: 'ATL::CSimpleStringT<BaseT
ype,t_bMFC
DLL>::GetB
uffer' : 2 overloads have no legal conversion for 'this' pointer
with
[
BaseType=char,
t_bMFCDLL=true
]
c:\Msdev\Projects\genmacro
kern\Macro
MathLib.cp
p(108): error C2440: 'type cast' : cannot convert from 'overloaded-function' to 'int'
It can't be something wrong with the code (surely?) since it does compile under VC++ 6.0. What has been changed between the versions that might do this, and what can I do about it?
Thanks in advance
Start Free Trial