473,662 Members | 2,390 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Unmanaged Visual C++ 2005 questions

The new Visual C++ 2005 is coming out in a theater near you. :-)
Just a few questions:

* How will the users that use my program upgrade to the .NET framework 2.0?
My current users already refuse to install the v1.x framework since they
clame it is too complicated.

* Can we still compile pure unmanaged C++ executables so that our users do
not need to install a .NET framework? With VC++ 2003 it could, but since
Microsoft is pushing to .NET (I love .NET) the resulting executable might
expect the .NET all the time from now on even when no managed extensions are
used.

Nov 17 '05 #1
6 1186
Hi Olaf!
The new Visual C++ 2005 is coming out in a theater near you. :-)
Nov 2005...
* How will the users that use my program upgrade to the .NET framework 2.0?
My current users already refuse to install the v1.x framework since they
clame it is too complicated.
You have the same problem for XP...
(maybe it will be integrated with SP3...)

But most systems have it already installed (most software has integrated
the dotNet.msm in their setup (like ATI-Video-Drivers...)

* Can we still compile pure unmanaged C++ executables so that our users do
not need to install a .NET framework? With VC++ 2003 it could, but since
Microsoft is pushing to .NET (I love .NET) the resulting executable might
expect the .NET all the time from now on even when no managed extensions are
used.


You can still develop unmanaged code.

--
Greetings
Jochen

My blog about Win32 and .NET
http://blog.kalmbachnet.de/
Nov 17 '05 #2
> > The new Visual C++ 2005 is coming out in a theater near you. :-)

Nov 2005...
Around the 7th. :-)
* How will the users that use my program upgrade to the .NET framework 2.0? My current users already refuse to install the v1.x framework since they clame it is too complicated.


You have the same problem for XP...
(maybe it will be integrated with SP3...)

If I look at how happy people are to install SP2, then I doubt it that SP3
will be installed if I ship my program.
One of the people here managed to delay the SP2 install by 6 months. Untill
he went on holiday and I took over his machine (I am IT too). I still don't
understand all the fuzz he had of not installing it. I think it is some kind
of scare of the unknown.
But most systems have it already installed (most software has integrated
the dotNet.msm in their setup (like ATI-Video-Drivers...)
It is getting better, but most users we have simply refuse to install it and
it is not really a mass product we create (yet), so harder to push the .NET
framework installation as requirement. For 2 years I have been advocating
this .NET but I am only one and they are many. :-(

But it is good that ATI and VB programmers use .NET now, that means that
users somehow are forced by others to install it, so my installation will
become simpler in time. Hopefully in my lifetime. ;-)
You can still develop unmanaged code.

I was expecting this, but I could not find this on the information I have
seen.
So buying it will not get the people scared that I want to go all the way
for the .NET thing. :-)
Nov 17 '05 #3
Hi Olaf!
But most systems have it already installed (most software has integrated
the dotNet.msm in their setup (like ATI-Video-Drivers...)


It is getting better, but most users we have simply refuse to install it and
it is not really a mass product we create (yet), so harder to push the .NET
framework installation as requirement. For 2 years I have been advocating
this .NET but I am only one and they are many. :-(


ATI has *integrated* the dotNET-Framework in their setup. So the user
does *not* recognise that it will be installed :-)

--
Greetings
Jochen

My blog about Win32 and .NET
http://blog.kalmbachnet.de/
Nov 17 '05 #4
Wil
"Olaf Baeyens" wrote:
* Can we still compile pure unmanaged C++ executables so that our users do
not need to install a .NET framework? With VC++ 2003 it could, but since
Microsoft is pushing to .NET (I love .NET) the resulting executable might
expect the .NET all the time from now on even when no managed extensions are
used.


Since MS support for VC++ 6.0 will soon lapse, VC++ 8.0 and all future
releases for many years to come had **better** support unmanaged code,
because there's a mighty lot of it out there that must still be maintained!!!
Also, MS is itself writing Longhorn in unmanaged C/C++, isn't it? It's my
understanding that Avalon, Indigo, etc., are not written in .NET.
Nov 17 '05 #5
Wil wrote:
"Olaf Baeyens" wrote:
* Can we still compile pure unmanaged C++ executables so that our
users do not need to install a .NET framework? With VC++ 2003 it
could, but since Microsoft is pushing to .NET (I love .NET) the
resulting executable might expect the .NET all the time from now on
even when no managed extensions are used.


Since MS support for VC++ 6.0 will soon lapse, VC++ 8.0 and all future
releases for many years to come had **better** support unmanaged code,
because there's a mighty lot of it out there that must still be
maintained!!! Also, MS is itself writing Longhorn in unmanaged C/C++,
isn't it? It's my understanding that Avalon, Indigo, etc., are not
written in .NET.


Avalon and Indigo are managed code. If not 100%, then nearly so. Many of
the new parts of Visual Studio 2005 (e.g. all of the Team System stuff) is
managed code.

The core OS is and always will be native C and C++.

But yes, native code development will be supported forever. Afterall, the
CLR itself is unmanaged code, and they'll always need tools to build that.

-cd
Nov 17 '05 #6
Wil
I suppose I misinterpreted Scoble's remarks in
http://channel9.msdn.com/ShowPost.aspx?PostID=72074
The parts of Avalon that Longhorn relies on are not managed, as far as I know.


Maybe I was assuming that Longhorn "relies on" more of Avalon than it
actually does, since (originally) Avalon, Indigo, and WinFS were declared the
"Three Pillars of Longhorn". Now, apparently, it's less of a "pillar" than
an attached ornament? So how much of Avalon is written in C/C++, and how
much is written in C#? Anyway, the part of Avalon that Longhorn **does**
rely on is unmanaged, it seems. And of course, as you say the code base of
Longhorn is itself unmanaged, since it's built starting with Windows 2003.
It will be a long time, if ever, before Windows is unmanaged code, I'm sure
we all agree. If that made sense, then Solaris would be written in Java.

Wil

Nov 17 '05 #7

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

Similar topics

2
2158
by: | last post by:
Everything seems to be moving to .NET and VC++ seems to be adding a lot of managed code support every new release. The questions: is unmanaged code in VC++ beeing phased out in favour of managed code? And suppose I still program in VC++ 6.0, can I safely assume that the code I use in VC++ 6.0 will still be available in future VC++ versions. Finally will VC++ 6.0 generated executables be still be able to run on futur Windows versions and...
1
1684
by: Eric Sassaman [MS] | last post by:
Online Chat: Visual C++ 2005 Beta Join the Visual C++ team to discuss your questions and comments on the Beta release of Visual C++ 2005. Whether you are a first-time user of the Visual C++ Express Edition Beta (http://lab.msdn.microsoft.com/express/visualc) or an experienced developer exploring the full Visual Studio 2005 suite, we want to answer your questions to provide you with a smooth development experience. So please bring your...
3
1534
by: JoeProgrammer | last post by:
A couple of questions re. managed vs. unmanaged code. 1. I know this depends on the app, but how much faster is unmanaged code vs. managed code? Is there an average figure for this? 2. Is it as simple as using a #pragma to convert from unmanaged to managed? And if so, can I simply change my existing code to managed with the #pragma wherever I want to eliminate transitions, or are there issues with this? -- JoeProgrammer I'm good. ...
18
9129
by: surfrat_ | last post by:
Hi, I am having the following problems in getting Microsoft Visual Studio 2005 Professional to link to an Access .mdb database. Please help me to sort this out. Problem 1: The Microsoft page "How to: Connect to Data in an Access Database"
5
2397
by: Tremendo | last post by:
Hi, I created a DLL using managed C# and this DLL needs to be consumed by two applications: - One is written in managed C#, and will run on a PC that does have the .NET framework installed (no problems regarding this one). - The other one is written in unmanaged Visual Basic 6, and will run on a PC that does NOT have the ..NET framework installed (my problems start here). I wonder..
0
1630
by: micho3 | last post by:
Here is my problem! I'm trying to use a Unmanaged dll (Use of MFC) into a C# project. But I know I have to wrap it before I can use it! So I've tried to wrap it without any success ! I'm new in this kind of prog and I would like some help !!! Here is a sample of the code of the unmanaged .h I want to wrap! #ifdef DLL_EXPORT #define DLL_TYPE __declspec(dllexport) #else #define DLL_TYPE __declspec(dllimport)
6
8644
by: Volodia | last post by:
Hi, I have a problem to find information how to add unmanaged dll build in VC++ 2005 to the asp.net web site What I have tried: 1. use DllImport("MyDll.dll") to declare function in mypage.aspx.cs 2. put MyDll.dll into Bin folder for ASP.Net web site But unfortunately an exception has been thrown
4
2641
by: Goran Djuranovic | last post by:
Hi all, I am experiencing a strange thing happening with a "designer.vb" page. Controls I manually declare in this page are automatically deleted after I drop another control on a ".aspx" page. - Why is this happening? - Can I disable automatic declaration and have everything be declared manually? - Any other options to fix this? Thanks in advance. Goran Djuranovic
0
2973
by: =?Utf-8?B?UGFy?= | last post by:
Hi I have a question on how to import unmanaged DLLs into Visual Studio 2005, C# environment. The background is that an instrument we bought is controlled through a couple of DLL files. I belive they are written in C++ and compiled for an Windows enviroment but we only got the binaries. Looking at the examples within Visual Studio we have tried to incorporate these DLLs into our own test application to control the instrument. The issue...
0
8343
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8856
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8762
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8545
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7365
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6185
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5653
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4347
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1747
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.