lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Quoth "E. Toernig" <>, on 2010-09-27 21:46:46 +0200:
> If you don't want to use mingw, take the WDK - it creates DLLs and
> EXEs that link against plain msvcrt.dll.  No "Visual" gadgetry
> though and all of MS's command line tools seem to be in alpha-state.
> And if you really want to use VS: I think there are tutorials on how
> to create VS-apps that link against msvcrt.dll and need no redistrib-
> utables.

I'm curious how this interacts with the official platform stance
apparently being that this is a broken thing to be doing for
general-purpose applications and that you're playing with fire trying
to link against MSVCRT directly.

| What is the difference between msvcrt.dll and msvcr80.dll?
| The msvcrt.dll is now a "known DLL," meaning that it is a system
| component owned and built by Windows. It is intended for future use
| only by system-level components.

Or for instance:

(Yes, this does imply that MinGW linking against MSVCRT by default
seems broken to me, though not necessarily in an easily rectifiable
way.  I would tend to think that the theoretically-correct approach
would be along the lines of an extra libre CRT for Windows of some
kind, but I'm insufficiently experienced with Windows to be sure of

   ---> Drake Wilson