No, the WinAPI consists of many different DLLs. See one of my previous posts.
WinAPI libraries are always linked dynamically, static linking isn't possible here.
This is something Athar mentioned in a previous post of mine.
My questions are:
(0) What are .a libraries and .lib libraries?
(1) WinAPI is, sluggishly put, a part of windows.h? How come its supported libraries are dynamically linked, while, the libraries of wininet.h are statically linked, while, the libraries of iostream are not even mentioned?!
I'm not referring to iostream as a part of winapi! I am asking, why do I need to include wininet.h AND choose my linker to link with libwininet.a, while I can only include iostream and not worry about linking other libraries?
Ah. That's because the C++ standard library is one of the libraries that is automatically linked.
If you search in your MinGW install path, you'll find a libstdc++.a somewhere. iostream is part of that.