Re: win32 or native NT windows API
- From: Herbert Kleebauer <klee@xxxxxxxxx>
- Date: Wed, 14 Jun 2006 16:19:55 +0200
Julienne Walker wrote:
Vikas Kumar wrote:
The reason I am asking this is that what if I want to write an
application that does not need a Microsoft runtime DLL to run, say
MSVCRT.dll or something similar.
It doesn't work like that. Even the native NT API requires you to link
with ntdll.dll. Somewhere along the line you need to access a DLL to
use the system interface.
The call of OS functions is done by an INT or SYSCALL and not by
a call to a function in a DLL. Any code in the DLL is executed in
the context of the running program and there is no difference whether
you call this code in the DLL or you include the source of this
code in your own program. And this is the reason why the old DOS
int21 (or the Linux int80) interface is much more appropriate for
learning assembly programming than the DLL calls in Windows.
.
- Follow-Ups:
- Re: win32 or native NT windows API
- From: randyhyde@xxxxxxxxxxxxx
- Re: win32 or native NT windows API
- From: Julienne Walker
- Re: win32 or native NT windows API
- References:
- win32 or native NT windows API
- From: Vikas Kumar
- Re: win32 or native NT windows API
- From: Julienne Walker
- win32 or native NT windows API
- Prev by Date: Re: win32 or native NT windows API
- Next by Date: Re: about connect
- Previous by thread: Re: win32 or native NT windows API
- Next by thread: Re: win32 or native NT windows API
- Index(es):