Re: CRT and Win32 SDK

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Actually, an implementation of the C runtime library doesn't need to
"use the OS". Consider embedded deivces without an OS. It's simply
an implementation of the standard-prescribed functions. In reality
most such implementations rely on an OS to provide some of the
functionality of course.

OP's confusion is that the C runtime library is part of the language
and one can't develop without it. It is part of the language standard,
true, but one can happily develop code without using it. It is _not_
part of the language. Both the user-mode Win32 API and the kernel
are indeed written mosly in C and to the best of my knowledge both
don't use a single function of the C runtime as defined by the C99
standard.

--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: agnickolov@xxxxxxxx
MVP VC FAQ: http://vcfaq.mvps.org
=====================================

"Alf P. Steinbach" <alfps@xxxxxxxx> wrote in message
news:ybqdnUqrEPybnKnVnZ2dnUVZ_tDinZ2d@xxxxxxxxxxxxxxxx
* SD:
So, what is this layer of "C" called?
Huh?


I should have phrased that better. What I mean is that the "C" used to
develop Win32 APIs must exist in some DLL.

Double huh. A language does not exist in a DLL.


...basically there must be an implementation of this for the Win32 APIs to
make use of.

Triple huh.

It's quite obvious that you have some severe misconception about
something, but as long as you refer to things as "this" it's impossible to
grok what you mean, and it's no good to engage in guessing game, sorry.

Try to look up Wikipedia on "runtime library". A runtime library uses the
operating system to implement some functionality that the runtime library
provides, e.g. thread-safe access to strtok. The operating system does
not use a runtime library. "A" uses "B". "B" does not use "A".


Cheers, & hth.

- Alf

--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?


.



Relevant Pages

  • Re: INSPECT and TRAILING syntax
    ... adding new syntax is a POST-2002 development. ... '02 Standard was that it was simply "TOO BIG". ... COULD already be accomplished and did the language really need them. ... the syntax for that functionality is pretty straightforward -- adds ...
    (comp.lang.cobol)
  • Re: "Criticism of the C programming language ??????"
    ... language, this is mostly just a lot of hot air. ... that is fully re-entrant, ... functionality available on most modern CPUs (and which is otherwise ... stamp on standard practice (totally ignoring the chicken and egg ...
    (comp.lang.c)
  • Re: Unhandled exception - How to turn off!
    ... to get that functionality. ... Well, as I see it, it's linking with the standard library that should get ... language, and functionality through libraries, not language, to have a ...
    (microsoft.public.vc.language)
  • Re: Unhandled exception - How to turn off!
    ... to get that functionality. ... You have been supposed to do that since the C++ standard was created. ... language, and functionality through libraries, not language, to have a ... few keywords, extensible by libraries, but half the standard library ...
    (microsoft.public.vc.language)
  • Re: Is C99 the final C? (some suggestions)
    ... > that someone will try compile their stuff on an old compiler. ... > because the ANSI standard obsoleted them, and everyone picked up the ANSI ... fixed by using another language. ... >>are multiplying two expressions of the widest type supported by your ...
    (comp.lang.c)