The MASM Forum Archive 2004 to 2012

Project Support Forums => MASM32 => Topic started by: hutch-- on May 26, 2010, 03:06:00 AM

Title: new version of bin2db.exe
Post by: hutch-- on May 26, 2010, 03:06:00 AM
This tool needed an update because of its aspect ratio not being suitable for wide screens. This is the first application done with CG.EXE which dropped the development time down to a couple of hours.

The toolbar by default is an RGB/a bitmap but for anyone running Win2000 that does not support this format there is a 256 color bitmap which will be used by changing an equate in the RSRC.RC file.

Note that you must have the later RESOURCE.H file that came with CG.EXE to build the file as it uses a version control block that has equates that were not in the earlier file.
Title: Re: new version of bin2db.exe
Post by: joemc on May 26, 2010, 05:15:30 AM
useful ! thanks.  reminds me of an app i made to do the same but in a C character array :) but it had no GUI.  This looks nice. I might add a button to output it in C format... and maybe in hex as well. I am guessing since you post the source with it i am allowed to modify?
Title: Re: new version of bin2db.exe
Post by: hutch-- on May 26, 2010, 06:48:12 AM
 :bg

Joe, you can do even better, its a simple CG.EXE template that calls a MASM32 library function to convert the file data into DB format. Its no big deal to roll your own and put as many conversions as you like into it. This actual exe file is part of the masm32 project so as long as you stay out of open source or selling it as it is, you can write more or less anything you like.

Tools written in masm32 is one of the main targets for CG.EXE, thats why I added the richedit code so it was easy to write editor based tools.
Title: Re: new version of bin2db.exe
Post by: hutch-- on May 27, 2010, 03:25:56 AM
Joe,

Now that I am something like awake, if you want to trick this tool into one that does a heap of other things, you are more than welcome but I would ask that you change the version control block to reflect the change in author, copyright etc ...
Title: Re: new version of bin2db.exe
Post by: joemc on May 27, 2010, 03:29:59 AM
Quote from: hutch-- on May 27, 2010, 03:25:56 AM
Joe,

Now that I am something like awake, if you want to trick this tool into one that does a heap of other things, you are more than welcome but I would ask that you change the version control block to reflect the change in author, copyright etc ...
definitely.  I wouldn't distribute it anyways :) just for myself to use as a tool.  may post it on board if anyone were interested.