How to reduce the size of the tools? #13
-
|
Hello, I recompiled the DLL2DEF and VB6LINK using VS2019 and the source code included into the latest ImpLIb SDK release v2.0.2. In the release the VB6LINK.EXE is 2Kb only, but my executable is almost 4Kb. How did you make the executable files smaller? Did you use compression? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
I'm using polink instead of the MS linker. Polink doesn't generate the "Rich header" by default. You can also patch the MS linker to avoid creating the "Rich header". I'm also using import libraries created with the ImpLib SDK without original thunk. Combining these two factors should be enough to reduce the VB6LINK.EXE to 2Kb. |
Beta Was this translation helpful? Give feedback.
I'm using polink instead of the MS linker. Polink doesn't generate the "Rich header" by default. You can also patch the MS linker to avoid creating the "Rich header". I'm also using import libraries created with the ImpLib SDK without original thunk. Combining these two factors should be enough to reduce the VB6LINK.EXE to 2Kb.