Library !

If it doesn't fit anywhere else, drop it in here. (not to be used as a chat/nonsense section)

Moderator: Moderator Team

Post Reply
User avatar
Adcock
Posts: 241
Joined: Thu Jul 07, 2016 5:37 pm

Library !

Post by Adcock »

First of all go to this link.
Just because msvcrt.dll is a system library is it unsafe to link against it directly ?
I have heard mingw does this.
How does mingw implement c/cpp 11 or 14 while it links against msvcrt.dll ?
(As far as I know msvcrt.dll is a C99 library)

Update:
It seems that there are several ways to link against a library.
What is Stub ?
How do I link against a static library(.lib) so that linker only links the used functions instead of linking the whole library ?
(I mean is there a specific name for this process ?)
What is import library ? Why use it ?

(I ask these questions here because there are two groups of people who knows about this 100 percent correctly and the other ones will only tell what they want others to do)
Open Your Windows To Freedom
middings
Posts: 1073
Joined: Tue May 07, 2013 9:18 pm
Location: California, USA

Re: Library !

Post by middings »

Adcock wrote:Just because msvcrt.dll is a system library is it unsafe to link against it directly ?
Why take the risk?
How does mingw implement c/cpp 11 or 14 while it links against msvcrt.dll ?
https://blogs.msdn.microsoft.com/oldnew ... nt-1118863
Post Reply

Who is online

Users browsing this forum: No registered users and 27 guests