The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: aker on February 16, 2010, 09:19:38 AM

Title: How to make ntdll.lib, ntoskrnl.lib, kernel32.lib and msvcrt.lib?
Post by: aker on February 16, 2010, 09:19:38 AM
How to make NTDLL.LIB, NTOSKRNL.LIB, KERNEL32.LIB and MSVCRT.LIB for MASM?
Title: Re: How to make ntdll.lib, ntoskrnl.lib, kernel32.lib and msvcrt.lib?
Post by: dedndave on February 16, 2010, 10:33:59 AM
the easy way is to download and install the masm32 package   :U
Title: Re: How to make ntdll.lib, ntoskrnl.lib, kernel32.lib and msvcrt.lib?
Post by: hutch-- on February 16, 2010, 11:46:24 AM
For NTDLL.LIB, NTOSKRNL.LIB you will have to write the prototypes yourself if you cannot frind an include file that has them. Neither are properly part of Win32 so they are not included in the libraries in MASM32.
Title: Re: How to make ntdll.lib, ntoskrnl.lib, kernel32.lib and msvcrt.lib?
Post by: qWord on February 16, 2010, 01:33:10 PM
NTDLL.LIB and NTOSKRNL.LIB are included in the Windows DDK (http://www.microsoft.com/downloads/details.aspx?FamilyID=2105564e-1a9a-4bf4-8d74-ec5b52da3d00&displaylang=en)
Title: Re: How to make ntdll.lib, ntoskrnl.lib, kernel32.lib and msvcrt.lib?
Post by: Vortex on February 16, 2010, 08:57:08 PM
ntdll.lib/inc :

http://www.masm32.com/board/index.php?topic=2124.0
Title: Re: How to make ntdll.lib, ntoskrnl.lib, kernel32.lib and msvcrt.lib?
Post by: aker on February 17, 2010, 02:52:23 AM
Thank all.
I mean Import Library program source code.
Any example code?
Title: Re: How to make ntdll.lib, ntoskrnl.lib, kernel32.lib and msvcrt.lib?
Post by: hutch-- on February 17, 2010, 08:16:21 AM
akr,

Tell us what you are after. Usually when someone wants access at unpublished system DLLs like NTDLL and NTOSKRNL they are up to some form of mischief. People who need to work in this area already know what they need.
Title: Re: How to make ntdll.lib, ntoskrnl.lib, kernel32.lib and msvcrt.lib?
Post by: aker on February 17, 2010, 08:35:39 AM
I just learn to write a program.
Yours inc2l, inc2lib, makecimp ... are very good, but no source.
So I'm tring to write a new one.
Title: Re: How to make ntdll.lib, ntoskrnl.lib, kernel32.lib and msvcrt.lib?
Post by: dedndave on February 17, 2010, 09:54:17 AM
QuotePeople who need to work in this area already know what they need.
you are too kind, Hutch - lol
i need to learn how to write kmd's - i glanced through some doc's - and it isn't a simple thing
Title: Re: How to make ntdll.lib, ntoskrnl.lib, kernel32.lib and msvcrt.lib?
Post by: redskull on February 17, 2010, 12:50:46 PM
http://win32assembly.online.fr/importlib.html
Title: Re: How to make ntdll.lib, ntoskrnl.lib, kernel32.lib and msvcrt.lib?
Post by: aker on February 17, 2010, 02:30:02 PM
Great!
Thanks all.
Title: Re: How to make ntdll.lib, ntoskrnl.lib, kernel32.lib and msvcrt.lib?
Post by: Vortex on February 18, 2010, 07:31:07 PM
Hi aker,

To create your own import libraries, you can use Pelle's library manager polib.exe :

\masm32\bin\polib.exe
Title: Re: How to make ntdll.lib, ntoskrnl.lib, kernel32.lib and msvcrt.lib?
Post by: aker on February 21, 2010, 06:43:50 AM
 :U