home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.comp.os.windows-xp      Actually wasn't too bad for a M$-OS      17,273 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 17,122 of 17,273   
   R.Wieser to All   
   Re: wsprintf I64 - how to get it to incl   
   08 Jan 26 18:23:52   
   
   XPost: comp.os.ms-windows.programmer.win32, alt.windows7.general   
   From: address@is.invalid   
      
   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   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca