I have searched this question on internet, some webpages also give me very useful information: need a include head file and the lib file. But where and how I can get these files?
I use MASM for my assembler, you might also want to get started with RadASM to help you compile everything. It's just as easy as adding the include and library files to your project then push...push..push..push..call
You can make libs with programs like (yes, you guessed it) "lib" from MS. Include files can be written by hand.
But there is no need for that - you can easilly download files like msvcrt.lib/msvcrt.inc from the Internet.
But there is no need for that - you can easilly download files like msvcrt.lib/msvcrt.inc from the Internet.
bookmark this page: http://www.japheth.de/
Win32Inc - MASM include files for Win32; forget about masm32!
http://www.japheth.de/win32inc.html
http://www.japheth.de/Win32Inc/WinCUI2.html
http://www.japheth.de/h2incX.html
and don't forget to use JWASM
http://www.japheth.de/JWasm.html
Win32Inc - MASM include files for Win32; forget about masm32!
http://www.japheth.de/win32inc.html
Win32Inc CUI Sample 2
Another "hello world" sample for Win32Inc, this one uses printf() from MSVCRT to display its text.
Another "hello world" sample for Win32Inc, this one uses printf() from MSVCRT to display its text.
http://www.japheth.de/Win32Inc/WinCUI2.html
translates C header files to ASM include files (Masm-style). It's way more powerful than similiar tools available. The Win32Inc include files were generated with this tool.
http://www.japheth.de/h2incX.html
and don't forget to use JWASM
http://www.japheth.de/JWasm.html
JWasm can be used for virtually any purpose