Click here to Skip to main content
15,892,059 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionEvents disappearing Pin
RichardS6-Mar-06 4:13
RichardS6-Mar-06 4:13 
AnswerRe: Events disappearing Pin
Blake Miller6-Mar-06 5:48
Blake Miller6-Mar-06 5:48 
GeneralRe: Events disappearing Pin
RichardS6-Mar-06 6:19
RichardS6-Mar-06 6:19 
Questionerror handle Pin
derek76-Mar-06 3:59
derek76-Mar-06 3:59 
AnswerRe: error handle Pin
toxcct6-Mar-06 4:11
toxcct6-Mar-06 4:11 
GeneralRe: error handle Pin
derek76-Mar-06 13:36
derek76-Mar-06 13:36 
QuestionHow can I destroy the video window? Pin
Shuang. Wu6-Mar-06 3:38
Shuang. Wu6-Mar-06 3:38 
QuestionHELP: Visual C++ 6.0 to Visual Studio.NET 2003 woes...... Pin
kevingpo6-Mar-06 3:02
kevingpo6-Mar-06 3:02 
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:

<br />
<br />
<br />
error C2039: 'Delete' : is not a member of 'CCommandEx<TAccessor>' with [TAccessor=ATL::CManualAccessor]<br />
<br />
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
error C2065: 'AFX_OLE_DATETIME_ERROR' : undeclared identifier<br />
<br />
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
error C2143: syntax error : missing ',' before '<'<br />
<br />
NOTE: what is this issue about templates??? my templates are like:<br />
<br />
(code snip)<br />
template <class TAccessor = CNoAccessor, template <typename T> class TRowset = CRowset><br />
class CAccessorRowset :<br />
  public TAccessor,<br />
  public TRowset<TAccessor> // error C2143<br />
{<br />
(code snip>)<br />
<br />
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
error C2440: 'type cast' : cannot convert from 'CFile' to 'HFILE'<br />
<br />
(code snip)<br />
if ((HFILE)File==CFile::hFileNull)<br />
(code snip)<br />
<br />
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
error C2475: 'CDouble::GetDoubleValue' : forming a pointer-to-member requires explicit use of the address-of operator ('&') and a qualified name<br />
<br />
(code snip)<br />
if(Value.GetDoubleValue != 0)<br />
(code snip)<br />
<br />
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
error C2516: 'TRowset' : is not a legal base class<br />
<br />
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



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?

-- modified at 9:07 Monday 6th March, 2006
AnswerRe: HELP: Visual C++ 6.0 to Visual Studio.NET 2003 woes...... Pin
kevingpo6-Mar-06 3:54
kevingpo6-Mar-06 3:54 
GeneralRe: HELP: Visual C++ 6.0 to Visual Studio.NET 2003 woes...... Pin
kevingpo6-Mar-06 5:54
kevingpo6-Mar-06 5:54 
QuestionStart-up Window Pin
BlitzPackage6-Mar-06 2:42
BlitzPackage6-Mar-06 2:42 
AnswerRe: Start-up Window Pin
David Crow6-Mar-06 2:46
David Crow6-Mar-06 2:46 
GeneralRe: Start-up Window Pin
BlitzPackage6-Mar-06 6:55
BlitzPackage6-Mar-06 6:55 
AnswerRe: Start-up Window Pin
toxcct6-Mar-06 2:46
toxcct6-Mar-06 2:46 
GeneralRe: Start-up Window Pin
BlitzPackage6-Mar-06 6:56
BlitzPackage6-Mar-06 6:56 
QuestionChanging the color of the controls Pin
Aryan S6-Mar-06 2:36
Aryan S6-Mar-06 2:36 
AnswerRe: Changing the color of the controls Pin
David Crow6-Mar-06 2:38
David Crow6-Mar-06 2:38 
AnswerRe: Changing the color of the controls Pin
Michael Dunn6-Mar-06 4:45
sitebuilderMichael Dunn6-Mar-06 4:45 
Questionhow to find which lib is a function in? Pin
derek76-Mar-06 1:52
derek76-Mar-06 1:52 
AnswerRe: how to find which lib is a function in? Pin
toxcct6-Mar-06 2:01
toxcct6-Mar-06 2:01 
GeneralRe: how to find which lib is a function in? Pin
derek76-Mar-06 2:49
derek76-Mar-06 2:49 
GeneralRe: how to find which lib is a function in? Pin
toxcct6-Mar-06 2:52
toxcct6-Mar-06 2:52 
GeneralRe: how to find which lib is a function in? Pin
derek76-Mar-06 3:44
derek76-Mar-06 3:44 
GeneralRe: how to find which lib is a function in? Pin
toxcct6-Mar-06 3:46
toxcct6-Mar-06 3:46 
AnswerRe: how to find which lib is a function in? Pin
SilentSilent6-Mar-06 4:17
SilentSilent6-Mar-06 4:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.