Re: Win32 Native API
From: David Bouchain (david_at_bouchain.de)
Date: 01/07/04
- Previous message: David Bouchain: "Re: Win32 Native API"
- Maybe in reply to: David Bouchain: "Re: Win32 Native API"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 7 Jan 2004 18:32:29 +0000 (UTC)
hutch-- wrote:
> David,
>
> There is no point in circumventing the documented method of accessing
> the normal system functions in any of the versions of Windows. One of
> the few things that has remained vaguely constant since the
> introduction of 32 bit Windows is the documentation for the API set of
> functions.
Ok. So I guess I shouldn't have any trouble running my code on previous
versions of Windows (I'm on XP Pro) if I stick to the things that are
available in the other versions, Windows 9x for example. Right?
>
> If you were working exclsively on one version of Windows and you
> either wrote your own device drivers or found some fudge to get into
> ring0, you could probably do what you had in mind but particularly
> when you have a compiler in mind, restricting yourself in this way
> would not make sense.
Yes. I don't want to write device drivers, but rather software using as
few libraries as I can, as low-leveled as it gets in Windows. But I
figure it's the best to stick to the Win32 API then.
>
> If the compiler design you have in mind is a core compiler with
> libraries for runtime code, you use the API functions to provide the
> operating system access you require which allows you to independently
> change the libraries for other version of the OS. This also gives you
> some chance of porting the compiler to other operating systems.
That is exactly what I had in mind. I started writing a little C
compiler now ("little" in terms of "a few features of the C language" --
I don't think I could finish a C compiler in my lifetime... ;) ). And
the standard library that comes with it.
>
> Regards,
>
> hutch at movsd dot com
>
--Dave
- Previous message: David Bouchain: "Re: Win32 Native API"
- Maybe in reply to: David Bouchain: "Re: Win32 Native API"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|