The MASM Forum

General => The Campus => Topic started by: Zen on June 15, 2016, 08:32:13 AM

Title: Where is crt_wcsncmp defined ???
Post by: Zen on June 15, 2016, 08:32:13 AM
I've looked everywhere for this function. I know it's somewhere in the standard MASM include files, because it's called in MABDELOUAHAB's DotNetHelper.inc file, and a test project I'm writing compiles.
See, This MASM Forum post (http://masm32.com/board/index.php?topic=5394.msg57848#msg57848) for more information.
Title: Re: Where is crt_wcsncmp defined ???
Post by: qWord on June 15, 2016, 08:47:03 AM
msvcrt.inc
Title: Re: Where is crt_wcsncmp defined ???
Post by: Zen on June 15, 2016, 08:56:36 AM
Thanks, QWORD.

externdef _imp__wcsncmp:PTR c_msvcrt
crt_wcsncmp equ <_imp__wcsncmp>

Title: Re: Where is crt_wcsncmp defined ???
Post by: jj2007 on June 15, 2016, 09:06:10 AM
C:\Masm32\include>findstr /M wcsncmp *.inc
miglib.inc
msvcrt.inc
netlib.inc
wdm.inc
wdmsec.inc
Title: Re: Where is crt_wcsncmp defined ???
Post by: Zen on June 15, 2016, 09:09:56 AM
OK,...where is wcsncmp defined ???

...And, JOCHEN,...I don't understand,...C:\Masm32\include>findstr /M wcsncmp *.inc,...what is that ???
...Oh,...yeah,...I see,...thanks,...:dazzled:
Title: Re: Where is crt_wcsncmp defined ???
Post by: jj2007 on June 15, 2016, 09:30:08 AM
I don't use findstr myself because I have a plugin (http://masm32.com/board/index.php?topic=5314.msg57603#msg57603) for that; but for such simple searches it seems OK.