Re: debugging my application

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

 



> 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.




[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux