News:

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

Nice tool by Lingo

Started by hutch--, March 04, 2005, 02:33:16 PM

Previous topic - Next topic

hutch--

Lingo posted this tool in Harold's forum about a year ago, may have been longer but its a very useful one if you need to place a large binary file directly into one of your EXE files.

It comes with source code and is written in Lingo's normal style, requiring an encryption master to make sense of it but like everything else he wrote, its skyrocket fast and very small.

Run it from the command line and you get this info,


H:\bin2obj>bin2obj
bin2obj by lingo
usage:  bin2obj /fi:input file /fo:output file /id:identifier
options:
        /fi:input file name - input binary data file
        /fo:output file name - output obj file in coff format
        /id:identifier - identifier to use


The identifier which you supply as the 3rd parameter is the data name you call when you want to data. I think from memory that you need to declare the name as EXTERNDEF but I have tested it and it works well. Note that you have to keep track of the data length yourself.

[attachment deleted by admin]
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php