The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: xiahan on April 18, 2012, 02:52:28 AM

Title: where is the coredll.lib and winbase.h in \masm32\include/lib
Post by: xiahan on April 18, 2012, 02:52:28 AM
i just can't find them
Title: Re: where is the coredll.lib and winbase.h in \masm32\include/lib
Post by: dedndave on April 18, 2012, 03:03:24 AM
coredll.lib appears to be for Windows CE
winbase.h
the functions that appear in that file are in kernel32.inc
the constants are in windows.inc

are you intending to write code for CE ?
Title: Re: where is the coredll.lib and winbase.h in \masm32\include/lib
Post by: xiahan on April 18, 2012, 03:13:39 AM
no , i just want wo use the function DisableThreadLibraryCalls

i search it in MSDN

and at the Requirements

it says

Header winbase.h
Library coredll.lib


so i want to know where can i find them
Title: Re: where is the coredll.lib and winbase.h in \masm32\include/lib
Post by: dedndave on April 18, 2012, 03:39:21 AM
DisableThreadLibraryCalls is prototyped in \masm32\include\kernel32.inc
\masm32\lib\kernel32.lib has the import

look closely at the MSDN page you are reading

you want this page
http://msdn.microsoft.com/en-us/library/windows/desktop/ms682579%28v=vs.85%29.aspx

not this page
http://msdn.microsoft.com/en-us/library/ms885200.aspx

:P

a the top of the page - it tells you which version you are looking at
Title: Re: where is the coredll.lib and winbase.h in \masm32\include/lib
Post by: xiahan on April 18, 2012, 06:07:00 PM
thanks the first link says it resides in kernel.dll