Re: wsprintf I64 - how to get it to include a plus sign ? Wrap-up
"R.Wieser" <[email protected]> Sun, 22 Mar 2026 18:58:08 +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]> |
malxau, >> You can do a 64-bit division with the aid of two 32-bit >> divisions : > > Ouch, you're right; turns out I did that and forgot. :-) I have been generating source-code long enough to have that happen to me too. >> Most all NTDLL functions are STDCALL. No need to do such >> a conversion. > > The problem is that Visual C++ emits function calls for > extended arithmetic that aren't stdcall. [snip] Ackk... Forgot all about that approach. I read about it but have seldom encountered it. Yep, in that case wrappers are needed. Hmmm. I was just thinking of directly putting the mchine-code byte-values of a call into the program (followed by an address), but that could be a clumsier solution than the calling convention translation you spoke of. Also, is there perhaps a possibility you can override that "by register" calling convention ? Using standard windows API funcions isn't really an un-common thing to do. Regards, Rudy Wieser