Re: wsprintf I64 - how to get it to include a plus sign ?

"R.Wieser" <[email protected]> Thu, 8 Jan 2026 18:23:52 +0100
Newsgroups comp.os.ms-windows.programmer.win32,alt.comp.os.windows-xp,alt.windows7.general
Organization A noiseless patient Spider
Message-ID <[email protected]>
Paul,

> The "w" stands for "wombat" rather than "wide".

I always wondered what that 'w" in "wsprintf" stood for.  Not "wide", as 
there where "A" and "W" postfix variants.

Its "wombat" you say ?   I would have liked to read the story behind that, 
but just now googling for it didn't get me any hits. :-|

> So I switched to another print variant that a couple of posts suggested
> would be a successor to it.

You made me remember something : NTDLL also has a version of sprintf, but I 
always assumed that the wsprintf one in USER32.DLL would be using it.  It 
looks like it doesn't though.

So, I have two DLL functions with the same name. :-(

With some carefully re-ordering of my includes I got the program so far as 
to use the NTDLL version of sprintf, instead of the CRTDLL one, which 
accepts the "%+010I64d" format string and displays the value as I needed it 
: +50000000000.

iow : thanks for making me remind that NTDLL function again. :-)

I'm currently re-researching how I can, in my sourcefile, call a function 
outof a specific DLL, but didn't find anything when I first tried some time 
ago.  Oh well. I can always create libary and include files in which all 
function names are prefixed with the name of the DLL.

... now I think of it, thats not a bad idea at all. :-)

Regards,
Rudy Wieser