View Single Post
Old 29th July 2015, 15:46   #16
Junior Member
Join Date: Jul 2015
Posts: 9
Originally Posted by LoRd_MuldeR View Post
Okay, here is another attempt

In previous version, the code was still using MulDiv(), which is signed. Unfortunately, there is no unsigned version of that function. So I had to implement my own UMulDiv() function. But then the linker failed with missing reference to __aulldiv(). Apparently a 64-Bit integer division in 32-Bit code requires CRT library calls - which isn't possible when the CRT is excluded from the binary, as in Inetc project. Bummer!

(In the end I had to add a custom __aulldiv() implementation to the Inetc project, as assembly code. Seems to work though)
It works!! Thank you
inst-user is offline   Reply With Quote