472,962 Members | 2,402 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,962 software developers and data experts.

HELP: Visual C++ 6.0 to Visual Studio.NET 2003 woes......

My application was developed under Visual C++ 6.0, ATL, MFC &
PlatformSDK Feb2003 (the last VC6 compatible version).

I am wondering if PlatformSDK Feb2003 is compatible with Visual
Studio.NET 2003? I am having major problems trying to port/build my
application under Visual Studio.NET 2003 using the unmanaged/native C++
compiler.

I was told that Visual Studio.NET 2003 had native C++ compiler support.
I am aware about the new C++ 1999 changes (eg. #include <iostream>,
using namespace std; etc). However my errors seem to be related to the
PlatformSDK Feb2003. eg:

error C2039: 'Delete' : is not a member of 'CCommandEx<TAccessor>' with
[TAccessor=ATL::CManualAccessor]

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~
error C2065: 'AFX_OLE_DATETIME_ERROR' : undeclared identifier

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~
error C2143: syntax error : missing ',' before '<'

NOTE: what is this issue about templates??? my templates are like:

<code snip>
template <class TAccessor = CNoAccessor, template <typename T> class
TRowset = CRowset>
class CAccessorRowset :
public TAccessor,
public TRowset<TAccessor> // error C2143
{
<code snip>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~
error C2440: 'type cast' : cannot convert from 'CFile' to 'HFILE'

<code snip>
if ((HFILE)File==CFile::hFileNull)
<code snip>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~
error C2475: 'CDouble::GetDoubleValue' : forming a pointer-to-member
requires explicit use of the address-of operator ('&') and a qualified
name

<code snip>
if(Value.GetDoubleValue != 0)
<code snip>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~
error C2516: 'TRowset' : is not a legal base class

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~
and there's more. What was wrong with Visual C++ 6.0? and why is there
so many errors when trying to compile under Visual Studio.NET 2003?
Does anyone know a quick conversion script?

Mar 6 '06 #1
1 2182
KevinGPO wrote:
My application was developed under Visual C++ 6.0, ATL, MFC &
PlatformSDK Feb2003 (the last VC6 compatible version).

I am wondering if PlatformSDK Feb2003 is compatible with Visual
Studio.NET 2003? [...]


This is compiler- and platform-specific and therefore off-topic here.
Please consider 'microsoft.public.vc.*' hierarchy of newsgroups for
your VC++ postings.
Mar 6 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Ricardo Dias Marques | last post by:
Hi, I have a development machine with Visual Studio .Net 2003 which, as far as I know, targets the 1.1 .Net Framework. Now I need to open some solutions that were created in another machine...
2
by: PeterJ | last post by:
I hope this is in the correct newsgroup. I have purchased and installed Visual Studio .Net 2003 under XP Professional. However, when I try to look at a VB.net sample web app, it will not open. ...
0
by: Al, Cambridge, UK | last post by:
I thought I'd share this, since it cost me 2.5 days... When running Visual Studio .NET 2003 as a Power User, if I pressed F1 for context-sensitive help, I either (consistently for particular...
1
by: xman | last post by:
very hard is fix exactly group for this question.. but I am sure that some of people here have some experience with these compilers: Visual Studio NET Enterprise Architect 2002 and Visual Studio...
0
by: Mobile Boy 36 | last post by:
I'm trying to make a very simple Textbox with a FocusColor property...When the focus changes to the control, the backcolor must change automaticly to the color set by the focusColor property....
15
by: DavidS | last post by:
Have Visual Studio.NET installed on MS 2000 Professional OS laptop. No issue ever with web development and SQL connections. Purchased new laptop with XP Professional SP2!!!!!!!! & Visual...
5
by: BK-Chicago | last post by:
I am in the midst of porting a massive MFC application from VS6.0 to VS8.0. While i have fixed most of the compile time errors, i do have quite a linker error that i have not been able to resolve....
1
by: ligong.yang | last post by:
Hi all, I got tortured by a very weird problem when I was using k. wilder's random generator class in my program. PS: wilder's generator class can be found at...
1
by: ligong.yang | last post by:
Hi all, I got tortured by a very weird problem when I was using k. wilder's random generator class in my program. PS: wilder's generator class can be found at...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
2
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.