News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

DLL exports without .DEF file

Started by jj2007, December 03, 2007, 04:58:11 PM

Previous topic - Next topic

vid

Quote from: Vortex on December 03, 2007, 07:14:20 PM
You can use Pelle's linker Polink to solve the problem :

\masm32\bin\polink /SUBSYSTEM:CONSOLE /DLL @Exports.txt ConsFuncs.obj

Exports.txt :

/EXPORT:locate /EXPORT:StdOut /EXPORT:ClearScreen /EXPORT:StrLen

Exports.txt is a response file declaring the exported functions.
why just PoLink? MS link can do exactly the same.

jj2007

Quote from: vid on December 08, 2007, 01:32:20 AM
Quote from: Vortex on December 03, 2007, 07:14:20 PM
You can use Pelle's linker Polink to solve the problem :
why just PoLink? MS link can do exactly the same.
Indeed, although in some instances it might be a bit more efficient.
But that is not the point. What I am trying to produce is a tool that allows to double-click on an ASM file sitting lonely in a folder, maybe together with a rsrc.rc and a readme.txt but no more. Currently I am testing this on the icztutes and the examples, by moving all "unnecessary" files (makeit.bat etc.) into an "old" folder and then double-clicking on the *.asm (the extension is now associated with \masm32\AsmBuild\AsmBuild.exe). It seems to work...

[attachment deleted by admin]