473,321 Members | 1,708 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Visual C++ .NET 2003 compatibility

Hello,

I'm using VC++ 6.0. Sadly, it lacks some of STL classes,
like hash_set. So I've decided to upgrade to VC++ .NET
2003.

My questions are:
- can I produce PEs for x86, like I did with VC++ 6.0,
with .NET version of VC?
- will my apps run on Windows 95 (I mean 4.0.0.95 or
whatever version is the oldest)?

Thanks for any information.

Best Regards,
Filip

Nov 16 '05 #1
6 1513
"Filip Konvicka" <an*******@discussions.microsoft.com> wrote in message
news:2b*****************************@phx.gbl...

I'm using VC++ 6.0. Sadly, it lacks some of STL classes,
like hash_set. So I've decided to upgrade to VC++ .NET
2003.
Please note that hash_set *IS NOT* an STL class. It may be one in the next
iteration of the standard, but it is currently an extension if and when it is
implemented. Also, as an extension, the different implementations by
different vendors are mutually incompatible, so don't expect any code you
write using hash_set to be portable, even if both platforms have a hash_set.

That said, VC 7.1 does provide a hash_set, but it's not in the std::
namespace...it is, instead, in stdext::.
My questions are:
- can I produce PEs for x86, like I did with VC++ 6.0,
with .NET version of VC?
Yes.
- will my apps run on Windows 95 (I mean 4.0.0.95 or
whatever version is the oldest)?


I don't know of any specific reasons why it shouldn't, as long as you limit
yourself to features and APIs that are supported in Win95.

Ken
Nov 16 '05 #2
Ken Alverson wrote:
"Filip Konvicka" <an*******@discussions.microsoft.com> wrote in
- will my apps run on Windows 95 (I mean 4.0.0.95 or
whatever version is the oldest)?


I don't know of any specific reasons why it shouldn't, as long as you
limit yourself to features and APIs that are supported in Win95.


Win95 is not an officially suported platform for VC7{.1} applications. That
said, most applications will work on Win95 just fine, as long as you limit
yourself to Win95 APIs.

There are issues with MFC requiring OLEACC.DLL which may not be present on
Win95. The workaround for this is to staically link to MFC and delay load
oleacc.dll, assuming you don't actually need any of the functionality that
oleacc.dll provides (which you won't if you're targeting windows 95).

-cd
Nov 16 '05 #3
>There are issues with MFC requiring OLEACC.DLL which may not be present on
Win95. The workaround for this is to staically link to MFC and delay load
oleacc.dll, assuming you don't actually need any of the functionality that
oleacc.dll provides (which you won't if you're targeting windows 95).


I think the 7.1 MFC already resolved that issue by delayloading
OLEACC.DLL itself.

Dave
--
MVP VC++ FAQ: http://www.mvps.org/vcfaq
Nov 16 '05 #4
David Lowndes wrote:
There are issues with MFC requiring OLEACC.DLL which may not be
present on Win95. The workaround for this is to staically link to
MFC and delay load oleacc.dll, assuming you don't actually need any
of the functionality that oleacc.dll provides (which you won't if
you're targeting windows 95).


I think the 7.1 MFC already resolved that issue by delayloading
OLEACC.DLL itself.


I think you're right :)

-cd
Nov 16 '05 #5
Thank you all, that's exactly what I needed to know.

To Ken: well, it fits within the STL just well and most compilers support
it; from what I know, I don't expect significant differences.

To Carl and David: thank you for pointing me to possible problems; I'll test
that to be sure that it works.

Best Regards,
Filip

"Carl Daniel [VC++ MVP]" <cp*****************************@mvps.org.nospam >
pí¹e v diskusním pøíspìvku news:uq**************@TK2MSFTNGP10.phx.gbl...
David Lowndes wrote:
There are issues with MFC requiring OLEACC.DLL which may not be
present on Win95. The workaround for this is to staically link to
MFC and delay load oleacc.dll, assuming you don't actually need any
of the functionality that oleacc.dll provides (which you won't if
you're targeting windows 95).


I think the 7.1 MFC already resolved that issue by delayloading
OLEACC.DLL itself.


I think you're right :)

-cd

Nov 16 '05 #6
"Filip Konvicka" <filip.konvicka at {I.HATE.SPAM} seznam dot cz> wrote in
message news:Oe**************@tk2msftngp13.phx.gbl...
Thank you all, that's exactly what I needed to know.

To Ken: well, it fits within the STL just well and most compilers support
it; from what I know, I don't expect significant differences.


If you're just using it with built in types for keys, you probably won't see
significant differences. If you start trying to use custom types as keys and
need to write hashing functions and comparators, you'll start to see major
differences.

I agree hash_map, in some form, is a good fit for STL. It just isn't
standard...yet.

Ken
Nov 16 '05 #7

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

Similar topics

1
by: angelag | last post by:
I am currently taking a college course in Visual Basic.Net and I am a beginner. I bought Visual Studio.Net 2003 to do my homework at home. I built my first project and e-mailed it to myself at...
1
by: robert | last post by:
Does anyone know why a vs 2000 project can't be opened in vs 2003. Is there a fix out there somewhere?
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: Ralph | last post by:
I used to have Visual Basic .net std. 2003 installed on WinXP SP1A. But I found it too hard to upgrade WinXP to SP2. Now, I do have WinXP SP2 installed, but I am having problems installing...
1
by: gerr | last post by:
Visual studio 2003 "HTTP/1.1 500 Internal Server Error" when trying to create a new Asp.net site with Visual Studio 2003 on localServer XP Pro/IIS 5.1. Everything worked fine prior to installing...
4
by: Skc | last post by:
We have a developer who has made an application in Visual Studio 2003 and this will not work in our version of Visual Studio 2002. Error message: Solution file loading error: The selected file...
1
by: Craig | last post by:
Hi All, We have a Visual Basic 6.0 application that we need to communciate with Sql Server 2005. In the past we had to use the microsoft.visualbasic.compatibility.dll to allow this software to...
0
by: f1engineer | last post by:
Dear Sirs My current project is to develop an existing source code of dll. The dll is created by Visual C++ 2003 environment but builded by Visual C++ 6.0 compiler. All that I hve to do is to add...
11
by: =?Utf-8?B?S3VlaXNoaW9uZyBUdQ==?= | last post by:
I am running Visual studio 2003 with framework 1.1 on a vista platform. However it runs very slow in debug mode, especially while it is loading dlls. What is the problem? Is there a compatibility...
1
by: watkinsdev | last post by:
I currently have Visual Studio 6.0 Enterprise installed on my pc but I would like to build a small web site using Visual Studio 2003 . NET. Would there be a compatibility problem if I installed...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.