简体   繁体   English

未定义的符号:crt__itow_s

[英]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.

相关问题 不能使用未定义的值作为符号perl - can't use an undefined value as a symbol perl 未定义的变量错误,尽管已在函数中定义 - Undefined variable error, though it's defined in function 反击函数在onClick上未定义,虽然它受到约束? - React Function undefined at onClick although it's bound? PHP的extract()函数是否使用copy-on-write将符号表添加到变量中? - Does PHP's extract() function add variables to the symbol table using copy-on-write? 首次使用后,JavaScript函数的参数变为未定义 - JavaScript function's argument becomes undefined after the first use Javascript:使用变量,或者使用未定义的默认字符串 - Javascript: use either a variable, or if it's undefined, a default string 未定义不是函数...但是...在单独的演示文件中运行 - Undefined is not a function… BUT… it's working in a stand alone demo file 如何在 Javascript 中检查函数的返回值是否未定义 - How to check if a function's return value is undefined or not in Javascript 在 if 语句块中使用 let 定义尚未定义的变量的替代方法是什么? - What's the alternative to defining an as-yet-undefined variable with let inside an if-statement block? 立即执行:遇到符号 - Execute Immediate : Encountered the symbol
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM