r0ger Posted April 3, 2022 Posted April 3, 2022 Hi there guys, I recently ripped an aboutbox from one of HAZE's keygens but unfortunately when i was going to compile and even inserted the externdef's both for __CIsin and __ftol2_sse : externdef c __CIsin:dword externdef c __ftol2_sse:dword ... i do get this error on compiling: bones.obj : error LNK2001: unresolved external symbol ___CIsin bones.obj : error LNK2001: unresolved external symbol ___ftol2_sse C:\Users\User\Downloads\asm.masm32-graphical-effects\MASM32-graphical-effects\HaZE\bones.exe : fatal error LNK1120: 2 unresolved externals do you guys think it might require another msvcrt lib but newer version or libcmt lib ? this aboutbox is obviously coded initially in C++ .
Xyl2k Posted April 8, 2022 Posted April 8, 2022 unresolved externals so it might be related to the msvcrt version or some other lib i think
kao Posted April 8, 2022 Posted April 8, 2022 You have incorrectly defined function names. See here: externdef c __CIsin:dword __CIsin <-- function name you defined in ASM bones.obj : error LNK2001: unresolved external symbol ___CIsin ___CIsin <-- function name linker is looking for _CIsin <- function name actually exported from msvcrt.dll Details and more explanation for example here: http://masm32.com/board/index.php?topic=6533.0 or here: https://www.bigmessowires.com/2015/10/06/assembly-language-windows-programming/
r0ger Posted April 8, 2022 Author Posted April 8, 2022 (edited) 1 hour ago, kao said: You have incorrectly defined function names. See here: externdef c __CIsin:dword __CIsin <-- function name you defined in ASM bones.obj : error LNK2001: unresolved external symbol ___CIsin ___CIsin <-- function name linker is looking for _CIsin <- function name actually exported from msvcrt.dll Details and more explanation for example here: http://masm32.com/board/index.php?topic=6533.0 or here: https://www.bigmessowires.com/2015/10/06/assembly-language-windows-programming/ thanks kao for the suggestion, modified the function names and used the msvcrt.lib i have used for the libv2 1.5 snippet and used these : externdef _CIsin:PROC externdef _ftol2_sse:PROC it did open up, the thing is nothing shows up on the aboutbox. not even the spinning dots, perhaps i might need to get the initializations found in WinMain to get the exact result. :E (good grief this might be the hardest aboutbox to rip from X_X) Edited April 8, 2022 by r0ger
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now