C Board  

Go Back   C Board > General Programming Boards > C# Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 05-19-2005, 08:04 PM   #1
Registered User
 
Join Date: May 2005
Posts: 50
Is C# the same as win32?

What the title says ?
jaylc185 is offline   Reply With Quote
Old 05-19-2005, 11:16 PM   #2
Banned
 
nickname_changed's Avatar
 
Join Date: Feb 2003
Location: Australia
Posts: 986
No

What the title says.
nickname_changed is offline   Reply With Quote
Old 05-20-2005, 03:43 AM   #3
Registered User
 
Join Date: May 2005
Posts: 28
No

C# is a programming language, in the .NET family, and somewhat in the C family. Win32 API is a method of windows programming, via directly accessing the Windows 32 bit API (Application Programming Interface). So, if you haven't garnered as much by now, no they are not the same. The .NET framework is really an abstraction layer over the Win32 API, so while using C# you are still using the Win32 API you are not using it directly. However, there are things that can be done directly through the Win32 API that can not be done in .NET


Mezzano
Mezzano is offline   Reply With Quote
Old 05-20-2005, 05:07 AM   #4
Registered User
 
Frobozz's Avatar
 
Join Date: Dec 2002
Posts: 546
Technically you are not using the Win32 API at all in C# unless you make use of it through using. C# itself exists on more than just the Windows platform. In it's Mono incarnation, it also exists on Macintosh and Linux.
Frobozz is offline   Reply With Quote
Old 05-20-2005, 11:29 AM   #5
Registered User
 
Join Date: May 2005
Posts: 28
Quote:
Originally Posted by Frobozz
Technically you are not using the Win32 API at all in C# unless you make use of it through using. C# itself exists on more than just the Windows platform. In it's Mono incarnation, it also exists on Macintosh and Linux.
I was referring to the windows version as that is the only system I know that currently has a robust version of C#. Last I heard Mono, as well as another project implementing C# on linux, were still in development stages. Anytime you do anything in C# under windows (anything that would involve the OS ie creating windows, opening files, getting user input, etc..) you ARE using the Win32 API, perhaps I spoke to narrowly, I should have been more clear


Mezzano
Mezzano is offline   Reply With Quote
Old 05-22-2005, 08:56 PM   #6
Registered User
 
Join Date: May 2004
Posts: 1,362
Yes it would use the Win32 API.
Other OS's, however it is implemented, would use other GUI API's.
sand_man is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Console program to Win32 Ducky Windows Programming 3 02-25-2008 12:46 PM
Win32 API or Win32 SDK? jverkoey General Discussions 2 07-20-2005 03:26 PM
OLE Clipboard :: Win32 API vs. MFC kuphryn Windows Programming 3 08-11-2002 05:57 PM
Thread Synchronization :: Win32 API vs. MFC kuphryn Windows Programming 2 08-09-2002 09:09 AM
Win32 API Tutorials? c++_n00b C++ Programming 9 05-09-2002 03:51 PM


All times are GMT -6. The time now is 11:12 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22