On Mon, 22 Oct 2001, David Elliott wrote: [...]
Hmm, now that I am looking at this I guess the swprintf is defined in NTDLL so I should just use that... WHOOPS, did a lot more coding than I had to.
I will rework this to use the much saner method and resend the patch later tonight.
Oh well, at least we got a free implementation of wcstoul out of it. :-)
If I am on the wrong track here, lemme know. Originally I had thought that something like a printf function would only be declared in MSVCRT and didn't want to import that, but now that I am looking at it it seems that MSVCRT only forwards to NTDLL.
Actually there's quite a few *printf implementations in the Wine tree. Too many I would say. What's more, IIRC most of them are incomplete as they do not support %S and %C (Unicode for ANSI printfs, ANSI for Unicode printfs). I believe this whole thing needs a good cleanup... Ah, I knew I had entered a bug report for that one: http://wine.codeweavers.com/bugzilla/show_bug.cgi?id=321
sscanf too may need some cleaning. Any volunteers?
Gotta get out of that UNIX mindset and into the windows one I guess.
Preferably not ;-)
-- Francois Gouget fgouget@free.fr http://fgouget.free.fr/ Any sufficiently advanced Operating System is indistinguishable from Linux