[SDL] Re: AW: stdout e cout in Win32
John Popplewell
john at johnnypops.demon.co.uk
Thu May 15 02:27:03 PDT 2003
Hi,
I was wondering if you, or one of the libraries you use, are linking to
both 'MSVCRT.DLL' _and_ 'MSVCRTD.DLL'? This can happen when not using
debug versions of _everything_ that you link to.
There are often strange effects because you can end up with multiple copies
of globals. 'errno' once got me, but aren't stdin/out/err global as well?
The 'Dependancy Walker' (depends.exe) tool:
http://www.dependencywalker.com/
is very useful for showing exactly what DLLs your application is linked to.
A version of it comes with MS VC++ 6,
good luck,
John.
----- Original Message -----
From: "SkunkGuru" <skunkguru at hotmail.com>
To: <sdl at libsdl.org>
Sent: Thursday, May 15, 2003 8:14 AM
Subject: [SDL] Re: AW: stdout e cout in Win32
> "Sam Lantinga" <slouken at devolution.com> ha scritto nel messaggio
> news:E19G8uO-00080G-00 at twomix.devolution.com...
> > > If i use subsystem:windows in debug mode, my cout<<* output goes too
> > > into stdout.txt !!
> >
> > That's correct. SDL redirects output to a file so that you have a
record
> > of it for bug reports (it wouldn't go anywhere else otherwise).
>
> This is exactly what I want....
> but with a standard project with MS VC++ 6
> it doesn't work with debug configuration and subsystem:windows.....
> it only works with release configuration....
>
> Can anyone try this, please ?
> Or if you want, I can send my empty project that doesn't work...
>
> --
> Bye!
>
>
>
>
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl
More information about the SDL
mailing list