David MacCormack djm at maccormack.net
Thu Aug 9 00:21:01 PDT 2001

On Wed, 8 Aug 2001, Sam Lantinga wrote:

> > I realize that Kylotan said that using windib doesn't solve his problem,
> > but others may try to use it as well so I believe this is still
> > relevant.
> > The problem is that both SDL and your app have a copy of the
> > environemnt; so putenv changes your app's environment, but SDL (the DLL)
> > won't see it. You need to tell SDL and your app to link to msvcrt.lib (or
> > msvcrtd.lib in the "Debug" release settings), recompile, and it should
> > work fine.
> As far as I know, if you follow the recommendation in the FAQ to build
> with "Multithreaded DLL" settings, it should work.  Please let me know
> if this isn't the case.
> Thanks!
> 	-Sam Lantinga, Software Engineer, Blizzard Entertainment
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl

I stand corrected.  It seems that the selection of "Multithreaded DLL"
tells the application (and SDL) to link with msvcrt.lib -- so same effect,
different means.


David MacCormack
djm at maccormack.net

More information about the SDL mailing list