473,413 Members | 1,811 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,413 software developers and data experts.

development question about .net and win32 api

Hello!!

When you for example use C++.net environment for develop an GUI application
does this mean that you doesn't use win32 API as much as when you had visual
studio 6.0 because of the large frame work classes that .net consist of?

Does there exist frame work classes that does what the win32 API does.?
I know that the .net frame work are the same for all net language but what
about the win32 API when programming C++ are these different from those that
exist in C#?
//Tony
Nov 17 '05 #1
2 1354
Tony Johansson wrote:
Hello!!

When you for example use C++.net environment for develop an GUI
application does this mean that you doesn't use win32 API as much as
when you had visual studio 6.0 because of the large frame work
classes that .net consist of?
That's up to you. Many people find that the Windows Forms framework doesn't
give them the power to create the kind of compelling GUI that they can
create using MFC and low-level Win32 facilities. To some extent you can mix
and match, albeit with difficulty. In VC++ 2005 (VC8, about to be
released), there's significant new features in MFC to allow you to easily
embed .NET forms and controls within an MFC view making it much easier to
mix and match.
Does there exist frame work classes that does what the win32 API
does.?
Not entirely. Nearly all of the .NET framework classes eventually delegate
down to native code and/or Win32 API functions to get the real job done.
For example, Windows Forms is built on top of GDI+, which is a C++ library
built on top of GDI, which is part of the Win32 API. That said, there are
still vast expanses of Win32 API that are not exposed in the .NET framework
at all.
I know that the .net frame work are the same for all net language but
what about the win32 API when programming C++ are these different
from those that exist in C#?


For those cases when you do need to interact at the Win32 API level, it's
considerably easier in C++ than it is from C# (I'm not sure the extent to
which it's even possible from VB.Net).

-cd
Nov 17 '05 #2
Hi Tony!
When you for example use C++.net environment for develop an GUI application
does this mean that you doesn't use win32 API as much as when you had visual
studio 6.0 because of the large frame work classes that .net consist of?
It depends on you!

You can either develop a native win32-app or MFC app like VC6
or you can develop an WinForms app which is based on the .NET framework.
Does there exist frame work classes that does what the win32 API does.?
With .NET 1.1 not every field is covered, but with .NET 2.0 most of the
win32-api is covered.
I know that the .net frame work are the same for all net language but what
about the win32 API when programming C++ are these different from those that
exist in C#?


In C#, there is no win32-api! Only .NET-framework.
Of course, you can do Interop (P/Invoke) to access win32-functions (and
COM-Interop to access COM objects).

--
Greetings
Jochen

My blog about Win32 and .NET
http://blog.kalmbachnet.de/
Nov 17 '05 #3

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

Similar topics

2
by: Bartlet | last post by:
Hi All, I'm a 10+ year c++ developer (99% desktop apps) looking to the future (as the few of us still working have learned to do). Everyone seems to expect you to have experience with .Net, so...
42
by: Mike P. | last post by:
Hello I come from the world of C++ programming, and I'm used to writing programs that are actually executed by the CPU, and that run with some semblance of performance. I have taken the time to...
1
by: Karsten | last post by:
Hi I'm a really a new with this cross platform development, so I have some dumb questions, which I hope you can help me with. If there is a better newsgroup for this question, please point...
1
by: Les P | last post by:
I could use a little friendly advice! Could a few of you good folks share with me a description of your configuration. Since '95 I have been a contractor developing applications using Borland...
0
by: Dr. International | last post by:
Are you in charge of making your company's application ready to ship to China, India and Russia? If you are attending Tech·Ed 2005 in Orlando this July and own this responsibility, the...
4
by: Jared Thirsk | last post by:
== Introduction to DAF == I am interested in the next generation of approaches to software development. Over the last decades, there has been an obvious shift in how our most complex software...
2
by: young_leaf | last post by:
hi i am making an Interprocess application, between 2 or more computers. what is the best way to do it. this is all i need: to Send command to client app, to Query for status of client app. ...
5
by: James S | last post by:
Hi, With DotNet having been around for a while, are there any good resources that detail what the uptake of the framework has been for Windows Application development? For example is DotNet...
20
by: macca | last post by:
Hi, I just started a new web developer job (my first actually) and the machine they gave me to use is a Mac. Two days in and I'm running a Win XP environment on my Mac at work (using VMWare), ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...
0
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...
0
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...

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.