polink linker seems to generate smaller and more efficient executables, but there's a problem. how the hell am i supposed to link masm objs and res files with it? i tried some options and all it generates is an error message saying

This is not a valid Win32 application.

i tried opening this in pe explorer, and it says

Warning! virtual size of one or more sections equals to zero.

what do i do. any help appreciated.
Posted on 2003-12-12 12:46:24 by evil__donkey
here s the linker and lib managers. i'm using masm 7.10
Posted on 2003-12-12 12:49:08 by evil__donkey

The only mod I had to do with PoLink was to replace the resource OBJ file converted with CVTRES on the link line with the RES file and it builds fine.

polink [options] yourexe.obj yourres.res

Everything worked fine and the end result was smaller. The main difference is the lower address of the PE header but the EXE ends up smaller than the size saving with the lower PE header address.

Posted on 2003-12-12 20:32:14 by hutch--

You can try Jeremy Gordon's free resource compiler Gorc which is able to create directly object files.
Posted on 2003-12-13 09:13:09 by Vortex
hi all. here's a bugfixed linker.


get it.
Posted on 2003-12-14 19:36:12 by evil__donkey