Hi,
Using my C++ VS6.0 application, I have converten a .dsw workspace file to .sln by opening it with VS.NET 2003 (and also tested with VS.NET 2002).
I cleaned some syntax incompability errors, and now I am left with these 2 errors:
The code at the referred location is like this:Code:f:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Guiddef.h(193) : error C2803: 'operator ==' must have at least one formal parameter of class type f:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Guiddef.h(198) : error C2803: 'operator !=' must have at least one formal parameter of class type
I have searched the net, but seams like no-one has had this error before.Code:#ifdef __cplusplus __inline int operator==(REFGUID guidOne, REFGUID guidOther) { return IsEqualGUID(guidOne,guidOther); } __inline int operator!=(REFGUID guidOne, REFGUID guidOther) { return !(guidOne == guidOther); } #endif
Anybody got a suggestion?
Thanks!
BTW: I am using several lib and dll files built with VS6.0, and since the .sln file that I am using is converted from a .dsw-file, my project is umnamaged, I guess.



LinkBack URL
About LinkBacks



CornedBee