R
Rudolf Meier
Hello
I installed Windows DDK (3900.1830). Then I created an empty directory on my
system d:\...\test.
After this I created a file "hello.c", "makefile" and "source".
That's what they contain:
--
hello.c
#include <ntddk.h>
NTSTATUS DriverEntry(PDRIVER_OBJECT DriverObject, PUNICODE_STRING
RegistryPath)
{
DbgPrint("Hello, World\n");
return STATUS_SUCCESS;
}
--
makefile
!INCLUDE $(NTMAKEENV)\makefile.def
--
source
TARGETNAME = hello
TARGETPATH = obj
TARGETTYPE = DRIVER
INCLUDES = %BUILD%\inc
LIBS = %BUILD%\lib
SOURCES = hello.c
Then I launched the "Windows XP Checked Build Environment" from the
startmenu. I navigated to my folder d:\..\test and typed "build"
then I got this:
BUILD: Adding /Y to COPYCMD so xcopy ops won't hand.
BUILD: Using 2 child processes
BUILD: Object root set to: ==> objchk_wxp_x86
BUILD: Compoile and Link for i386
BUILD: Loading C:\PROGRA~1\MI2DF7~1\3790~1.183\build.dat...
BUILD: Computing Include file dependencies:
BUILD: Done
and the file "buildchk_wxp_x86.log" has been generated... it contains this:
BUILD: Computing Include file dependencies:
.... and nothing more happens... so, what's wrong??
thanks
MR - Rudolf Meier
I installed Windows DDK (3900.1830). Then I created an empty directory on my
system d:\...\test.
After this I created a file "hello.c", "makefile" and "source".
That's what they contain:
--
hello.c
#include <ntddk.h>
NTSTATUS DriverEntry(PDRIVER_OBJECT DriverObject, PUNICODE_STRING
RegistryPath)
{
DbgPrint("Hello, World\n");
return STATUS_SUCCESS;
}
--
makefile
!INCLUDE $(NTMAKEENV)\makefile.def
--
source
TARGETNAME = hello
TARGETPATH = obj
TARGETTYPE = DRIVER
INCLUDES = %BUILD%\inc
LIBS = %BUILD%\lib
SOURCES = hello.c
Then I launched the "Windows XP Checked Build Environment" from the
startmenu. I navigated to my folder d:\..\test and typed "build"
then I got this:
BUILD: Adding /Y to COPYCMD so xcopy ops won't hand.
BUILD: Using 2 child processes
BUILD: Object root set to: ==> objchk_wxp_x86
BUILD: Compoile and Link for i386
BUILD: Loading C:\PROGRA~1\MI2DF7~1\3790~1.183\build.dat...
BUILD: Computing Include file dependencies:
BUILD: Done
and the file "buildchk_wxp_x86.log" has been generated... it contains this:
BUILD: Computing Include file dependencies:
.... and nothing more happens... so, what's wrong??
thanks
MR - Rudolf Meier