[英]undefined symbol : crt__itow_s
I got a piece of code:我得到一段代码:
push 0Ah ; Radix
push 2 ; fSizeInWords
lea eax, [ebp+DstBuf]
and dword ptr [ebp+DstBuf], 0
push eax ; DstBuf
push 7
pop ecx
xor edx, edx
mov eax, ebx
div ecx
push edx ; Val
call _itow_s
After change _itow_s to crt__itow_s, I got error reported:undefined symbol: crt__itow_s.把_itow_s改成crt__itow_s后,报错:undefined symbol: crt__itow_s。 Does _itow_s in msvcrt.lib?
_itow_s 在 msvcrt.lib 中吗? How to pass the _itow_s function in masm32.
如何在 masm32 中传递 _itow_s function。
I changed to the LoadLibrary method我改为 LoadLibrary 方法
LibName db "ntdll.dll",0
ProcName db "_itow_s",0
...
push 0Ah ; Radix
push 2 ; fSizeInWords
lea eax, [ebp+DstBuf]
and dword ptr [ebp+DstBuf], 0
push eax ; DstBuf
push 7
pop ecx
xor edx, edx
mov eax, ebx
div ecx
push edx ; Val
;call _itow_s
invoke LoadLibrary,ADDR LibName
invoke GetProcAddress,eax,ADDR ProcName
call eax
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.