Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / CLR / December 2003

Tip: Looking for answers? Try searching our database.

.NET and Win32 APIs

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
neo - 29 Dec 2003 19:42 GMT
hi,

I am a bit confused about .NET framework. Does the functions avaiable in
.NET call the underlying Win 32 APIs or the fuctions are implemented in the
framework itself ?

Also there are some different APIs available for win98 and win2000. So if
.NET calls the OS APIs then does it detect the OS version and then call the
API ?

When installing the .NET Framework some dlls like System.Drawing are copied
as "Generating Install-time code " - what does this mean ? Is it that the
Dlls are copied in native code for faster execution ?

may be i am missing something here. Do advice.
Thanks.
Pravin.
Gabriele G. Ponti - 29 Dec 2003 18:09 GMT
> Does the functions avaiable in .NET call the underlying Win 32 APIs
> or the fuctions are implemented in the framework itself ?

It depends. Many .NET classes are wrappers for Windows API, especially the
ones that have something to do with the operating system.

   Gabriele
Willy Denoyette [MVP] - 29 Dec 2003 19:14 GMT
Inline ***

Willy.

> hi,
>
> I am a bit confused about .NET framework. Does the functions avaiable in
> .NET call the underlying Win 32 APIs or the fuctions are implemented in the
> framework itself ?

*** Yes, When calling OS services it will use the underlying Win32 API's.

> Also there are some different APIs available for win98 and win2000. So if
> .NET calls the OS APIs then does it detect the OS version and then call the
> API ?

*** The OS version will be checked and the appropriate API will be called
when available, else it will throw an exception.
> When installing the .NET Framework some dlls like System.Drawing are copied
> as "Generating Install-time code " - what does this mean ? Is it that the
> Dlls are copied in native code for faster execution ?

*** Some assemblies are Ngen'nd to reduce start up time.

> may be i am missing something here. Do advice.
> Thanks.
> Pravin.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.