debugging my application

Quentin IHateSpam at SpamSux.com
Mon Dec 3 17:38:38 CST 2001


> Is printf a windows function?  msvcrt, crtdll, I guess if your app
> imports one of those, it is, but I have no idea where it is spoze to
> printf to.

No printf isn't a windows function, I was just wondering if there was a way
I could send text messages to stdout.  I got a better idea, if I use
"OutputDebugString" (which is a windows function) will that output debug
messages if I use '--debugmsg +relay'?

> What are you compiling your app with?
> Are you still using a windows compiler, or did you give it to winemaker
> as I suggested?  Anyway, the "right" thing to do is to use the windows
> debugging API, I think wine implements most of it.

I have been trying both compiling with Visual C++ 6.0 and trying to use
winemaker (so far only compiling with VC++ is showing any fruit.)

> Hmmm, if you use console functions (I guess printf would be one), I
> think you are meant to use wineconsole to run them instead of wine.
> This gives you a separate console window.  I don't have any apps handy

Yeah, I have come to realize this, I guess my idea of using printf was a
little dumb :(

Thanks for all your suggestions, you've been very helpful,
Quentin.





More information about the wine-users mailing list