www.digitalmars.com         C & C++   DMDScript  

c++.mfc - Upgrade to MFC 6.0?

reply andy C <andy_member pathlink.com> writes:
I have the latest DMC++ and the old symantec 7.51, both with MFC 4.2.  Is there
a way to upgrade to MFC 6.0 without violating any licensing agreement?  I am
trying to create a C++ program with an embedded VBScript control in it and the
sample code used some CString functions that are version 6.0.  
Thanks!

Andy
Nov 06 2002
parent reply Jan Knepper <jan smartsoft.us> writes:
Which member functions are that?



andy C wrote:

 I have the latest DMC++ and the old symantec 7.51, both with MFC 4.2.  Is there
 a way to upgrade to MFC 6.0 without violating any licensing agreement?  I am
 trying to create a C++ program with an embedded VBScript control in it and the
 sample code used some CString functions that are version 6.0.
 Thanks!

Nov 12 2002
next sibling parent reply andy c <andy_member pathlink.com> writes:
Jan There are two problems compiling the source code...

1.  Replace() member finction for CString is not found.  Mind you this is an
easy work around.
2.  The header #include <afxdtctl.h> (MFC support for Internet Explorer 4 Common
Controls) is not found.

Thanks.
Andy c

In article <3DD1653F.1BB24C20 smartsoft.us>, Jan Knepper says...
Which member functions are that?



andy C wrote:

 I have the latest DMC++ and the old symantec 7.51, both with MFC 4.2.  Is there
 a way to upgrade to MFC 6.0 without violating any licensing agreement?  I am
 trying to create a C++ program with an embedded VBScript control in it and the
 sample code used some CString functions that are version 6.0.
 Thanks!


Nov 12 2002
parent reply Jan Knepper <jan smartsoft.us> writes:
andy c wrote:

 Jan There are two problems compiling the source code...

 1.  Replace() member finction for CString is not found.  Mind you this is an
 easy work around.

I think that one is included in the .tar.gz file you can download from www.digitalmars.com, you also will have to download the ATL .tar.gz file and recompile the libraries...
 2.  The header #include <afxdtctl.h> (MFC support for Internet Explorer 4
Common
 Controls) is not found.

That one you probably could port from the latest MFC. I worked (years ago) on a port for MFC 6.0, but due to not yet implemented language features I could not finish the port. Now the compiler is about up-to-date, I should re-apply my changes to the latest MFC and see what happens... However, don't have the time right now... Searching for some contract work takes preference... Jan
Nov 12 2002
parent andy c <andy_member pathlink.com> writes:
Jan,
Thanks for the advice.  Where can I find the latest MFC?

Andy


In article <3DD1C6B3.79C0C9A smartsoft.us>, Jan Knepper says...
andy c wrote:

 Jan There are two problems compiling the source code...

 1.  Replace() member finction for CString is not found.  Mind you this is an
 easy work around.

I think that one is included in the .tar.gz file you can download from www.digitalmars.com, you also will have to download the ATL .tar.gz file and recompile the libraries...
 2.  The header #include <afxdtctl.h> (MFC support for Internet Explorer 4
Common
 Controls) is not found.

That one you probably could port from the latest MFC. I worked (years ago) on a port for MFC 6.0, but due to not yet implemented language features I could not finish the port. Now the compiler is about up-to-date, I should re-apply my changes to the latest MFC and see what happens... However, don't have the time right now... Searching for some contract work takes preference... Jan

Nov 13 2002
prev sibling parent andy c <andy_member pathlink.com> writes:
Jan There are two problems compiling the source code...

1.  Replace() member finction for CString is not found.  Mind you this is an
easy work around.
2.  The header #include <afxdtctl.h> (MFC support for Internet Explorer 4 Common
Controls) is not found.

Thanks.
Andy c

In article <3DD1653F.1BB24C20 smartsoft.us>, Jan Knepper says...
Which member functions are that?



andy C wrote:

 I have the latest DMC++ and the old symantec 7.51, both with MFC 4.2.  Is there
 a way to upgrade to MFC 6.0 without violating any licensing agreement?  I am
 trying to create a C++ program with an embedded VBScript control in it and the
 sample code used some CString functions that are version 6.0.
 Thanks!


Nov 12 2002