I've read http://msdn2.microsoft.com/en-us/library/ms791451.aspx , but
what it suggests just doesn't seem to work as expected.

Short summary of things: I've installed WDK 6000.16384. I've got
the following directory setup:

d:\full\ (empty)
d:\mini\ (empty)
d:\InfinitySnapshot\ , contains Infinity_O.exe and Infinity_O.pdb

In the directory I run binplace from, I've got a file
'placefil.txt', which has the following contents:

---
Infinity_O.exe retail
---

If I run binplace as follows, I get the following results:

binplace -v -a -x -r d:\full -s d:\mini -p ./placefil.txt d:\InfinitySnapshot\Infinity_O.exe

BINPLACE : warning GNA0293: Not a response file (-a)
BINPLACE : warning GNA0293: Not a response file (-x)
BINPLACE : warning GNA0293: Not a response file (-r)
BINPLACE : warning GNA0293: Not a response file (d:\full)
BINPLACE : warning GNA0293: Not a response file (-s)
BINPLACE : warning GNA0293: Not a response file (d:\mini)
BINPLACE : warning GNA0293: Not a response file (d:\mini)
BINPLACE : warning GNA0293: Not a response file (-p)
BINPLACE : warning GNA0293: Not a response file (./placefil.txt)
BINPLACE : warning GNA0293: Not a response file (./placefil.txt)
BINPLACE : warning GNA0293: Not a response file (d:\InfinitySnapshot\Infinity_O.exe)
BINPLACE : warning BNP0000: Looking at file Infinity_O.exe
BINPLACE : warning BNP0000: place d:\InfinitySnapshot\Infinity_O.exe in d:\full\.\Infinity_O.exe
BINPLACE : warning GNA0127: Command line finished

After this is done, d:\full\Infinity_O.exe exists, and is the same
size in KB as the copy d:\InfinitySnapshot . There is no pdb file
here. Under d:\mini, there's 2 directories created, d:\mini\retail\exe
However, no files are placed under d:\mini

What I want is a stripped .pdb, containing only the public symbols
(line #s). Infinity_O.exe and .pdb were created with VS.NET 2003, and
I know that the .pdb is valid. Any tips for how to achieve this? Thanks.

Nathan Mates

--
<*> Nathan Mates - personal webpage http://www.visi.com/~nathan/
# Programmer at Pandemic Studios -- http://www.pandemicstudios.com/
# NOT speaking for Pandemic Studios. "Care not what the neighbors
# think. What are the facts, and to how many decimal places?" -R.A. Heinlein

Re: Binplace - how to use? by JayFleming

JayFleming
Thu Feb 22 11:37:10 CST 2007

On 5 Feb, 21:48, nat...@visi.com (Nathan Mates) wrote:
> I've readhttp://msdn2.microsoft.com/en-us/library/ms791451.aspx, but
> what it suggests just doesn't seem to work as expected.
>
> Short summary of things: I've installed WDK 6000.16384. I've got
> the following directory setup:
>
> d:\full\ (empty)
> d:\mini\ (empty)
> d:\InfinitySnapshot\ , contains Infinity_O.exe and Infinity_O.pdb
>
> In the directory I runbinplacefrom, I've got a file
> 'placefil.txt', which has the following contents:
>
> ---
> Infinity_O.exe retail
> ---
>
> If I runbinplaceas follows, I get the following results:
>
> binplace-v -a -x -r d:\full -s d:\mini -p ./placefil.txt d:\InfinitySnapshot\Infinity_O.exe
>
> BINPLACE: warning GNA0293: Not a response file (-a)BINPLACE: warning GNA0293: Not a response file (-x)BINPLACE: warning GNA0293: Not a response file (-r)BINPLACE: warning GNA0293: Not a response file (d:\full)BINPLACE: warning GNA0293: Not a response file (-s)BINPLACE: warning GNA0293: Not a response file (d:\mini)BINPLACE: warning GNA0293: Not a response file (d:\mini)BINPLACE: warning GNA0293: Not a response file (-p)BINPLACE: warning GNA0293: Not a response file (./placefil.txt)BINPLACE: warning GNA0293: Not a response file (./placefil.txt)BINPLACE: warning GNA0293: Not a response file (d:\InfinitySnapshot\Infinity_O.exe)BINPLACE: warning BNP0000: Looking at file Infinity_O.exeBINPLACE: warning BNP0000: place d:\InfinitySnapshot\Infinity_O.exe in d:\full\.\Infinity_O.exeBINPLACE: warning GNA0127: Command line finished
>
> After this is done, d:\full\Infinity_O.exe exists, and is the same
> size in KB as the copy d:\InfinitySnapshot . There is no pdb file
> here. Under d:\mini, there's 2 directories created, d:\mini\retail\exe
> However, no files are placed under d:\mini
>
> What I want is a stripped .pdb, containing only the public symbols
> (line #s). Infinity_O.exe and .pdb were created with VS.NET 2003, and
> I know that the .pdb is valid. Any tips for how to achieve this? Thanks.
>
> Nathan Mates
>
> --
> <*> Nathan Mates - personal webpagehttp://www.visi.com/~nathan/
> # Programmer at Pandemic Studios --http://www.pandemicstudios.com/
> # NOT speaking for Pandemic Studios. "Care not what the neighbors
> # think. What are the facts, and to how many decimal places?" -R.A. Heinlein

I'm getting the exact same results...sadly the only mention i can find
of the problem is yours...

Cheers,
Jay