binplace doesn't seem to instantiate post build

Discussion in 'Windows Vista Drivers' started by Paul Russell, Aug 26, 2007.

  1. Paul Russell

    Paul Russell Guest

    I have enabled binplace from setenv and specified a location as directed in
    the documentation. However, it does not seem to work.

    can someone confirm the steps needed to make this fire correctly?

    paul.
     
    Paul Russell, Aug 26, 2007
    #1
    1. Advertisements

  2. Is this about giving the base address to a DLL?
     
    Maxim S. Shatskih, Aug 27, 2007
    #2
    1. Advertisements

  3. Paul Russell

    Paul Russell Guest

    No.

    binplace is post-build operations ...

    i cna set DLL base address via my sources file .. not quite the same thing
    ....
     
    Paul Russell, Aug 27, 2007
    #3
  4. 1) Add MAKEFILE.INC to your project.

    2) In MAKEFILE.INC, add the target named like DoBinPlace and looking like:

    DoBinPlace:
    binplace xxx yyy $(TARGET)

    where $(TARGET) is the pathname of the just-built binary.

    3) In the main SOURCES file, do the following:

    NTTARGETFILES=DoBinPlace

    This should work.
     
    Maxim S. Shatskih, Aug 27, 2007
    #4
  5. Paul Russell

    Paul Russell Guest

    thanks maxim

    i do desire the stripping / spliting capability of binplace as well as
    placement .... since it is part of a build process it is important to have
    this kind of workflow from binplace working as expected .. used to work well
    through W2k3 SP1 DDK ... WDK .. well she go poof :(
     
    Paul Russell, Aug 28, 2007
    #5
    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.