Cannot succeed with the Event sample

Discussion in 'Windows Vista Drivers' started by hardworkboy, Feb 28, 2006.

  1. hardworkboy

    hardworkboy Guest

    Dear all,

    I am sorry to bother you again.
    I have installed the DDK on my E driver. And I have download
    the event source code from MS website. but the build got some problem.
    the buildchk_w2K_x86 is as following.
    Actually I don't have the event.rc file inside the sys directory.
    Could anyone tell me what error I have made? Do I need to add the
    "inc" directory of the WINDDK to my environment variable setting?


    BUILD: Examining e:\0227w\event\sys directory for files to compile.
    Compiling (NoSync) e:\0227w\event\sys directory ********************
    'nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1 386=1'
    cl -nologo -Ii386\ -I. -IE:\WINDDK\3790~1.183\inc\mfc42 -I..
    -Iobjchk_w2K_x86\i386 -IE:\WINDDK\3790~1.183\inc\w2K
    -IE:\WINDDK\3790~1.183\inc\w2K -IE:\WINDDK\3790~1.183\inc\ddk\w2K
    -IE:\WINDDK\3790~1.183\inc\ddk\wdm\w2K -IE:\WINDDK\3790~1.183\inc\crt
    -DWIN32=100 -D_NT1X_=100 -DWINNT=1 -D_WIN32_WINNT=0x0500
    /DWINVER=0x0500 -D_WIN32_IE=0x0501 -DWIN32_LEAN_AND_MEAN=1 -DDEVL=1
    /Zl /Zp8 /Gy /Gm- -cbstring /W3 /WX /Gz /GX- /GR- /GF /GS /G6 /Ze
    /Gi- /QIfdiv- /hotpatch -Z7 /Od /Oi /Oy-
    -FIE:\WINDDK\3790~1.183\inc\w2K\warning.h .\event.c .\pnp.c
    Generating Code...

    Linking e:\0227w\event\sys directory ********************
    'nmake.exe /nologo BUILDMSG=Stop. -i LINKONLY=1 NOPASS0=1 NTTEST=
    UMTEST= 386=1'
    link -out:eek:bjchk_w2K_x86\i386\Event.sys -machine:ix86
    Microsoft (R) Incremental Linker Version 7.10.4035
    Copyright (C) Microsoft Corporation. All rights reserved.

    -align:0x80 /stub:E:\WINDDK\3790~1.183\lib\w2K\
    echo Skip Binplace:
    Skip Binplace:


    hardworkboy, Feb 28, 2006
    1. Advertisements

  2. hardworkboy

    Mark Roddy Guest

    Which sample? A link would be helpful.
    There doesn't appear to be an error in your output.

    If you downloaded a sample, you should try building it first with all
    of its components in exactly its original configuration. Then start
    changing stuff.

    Mark Roddy DDK MVP
    Windows Vista/2003/XP/2000 Consulting
    Device and Filesystem Drivers
    Hollis Technology Solutions 603-321-1032
    Mark Roddy, Feb 28, 2006
    1. Advertisements

  3. hardworkboy

    hardworkboy Guest;EN-US;Q262947 is the
    link for the event example.
    on the website( the above link), it said "This process invokes the
    Microsoft make routines that produce .log files (Buildxxx.log) and also
    Buildxxx.wrn and Buildxxx.err, if there are any warnings or errors,
    where xxx stands for .fre or .chk, depending on the environment
    chosen." So I guess maybe I have got some errors.
    I have got the Event.sys in the cannot get the eventtst.exe and my
    Event.sys file size is different from the one given by the website.
    Please help again!

    hardworkboy, Mar 1, 2006
  4. hardworkboy

    hardworkboy Guest

    I am sorry. The build process seems done. But the test procedure seems
    got some problem. I have copied the Event.sys and the eventtst.exe to
    the same directory such as E:\test. But the
    SetupDiEnumDeviceInterfaces() got some problem of 259,means "No
    GUID_EVENT_INTERFACE interface found".
    Do I need to copy the Event.sys to the system32\drivers\ directory?
    How is the Event.inf generated? Why is it said "automatically" but

    hardworkboy, Mar 1, 2006
  5. For me, this looks like the successful BUILD log.
    Maxim S. Shatskih, Mar 1, 2006
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.