The MASM Forum Archive 2004 to 2012

Project Support Forums => MASM32 => Topic started by: hutch-- on October 25, 2010, 04:19:21 AM

Title: Extended version of "bin2db"
Post by: hutch-- on October 25, 2010, 04:19:21 AM
This is a matching tool to "Multitool" that converts any file to either compacted decimal DB notation or HEX format DB notation.

As you would expect this version does NOT append a terminating zero and to use the data you must use the byte length commented at the top of the editor when a conversion is done.

Like Multitool, persons who may be eyesight challenged will probably not have any real probems with the 64 pixel toolbar.  :P
Title: Re: Extended version of "bin2db"
Post by: frktons on October 25, 2010, 06:39:12 AM
Hi Steve  :bg

It's good to see that you are in a "development mood"  :lol

Useful tools indeed.  :U

Frank
Title: Re: Extended version of "bin2db"
Post by: hutch-- on October 25, 2010, 08:13:14 AM
 :bg

Frank,

Its more like the sausage factory at the moment with Mount Everest in front of me.
Title: Re: Extended version of "bin2db"
Post by: frktons on October 25, 2010, 10:47:25 AM
Quote from: hutch-- on October 25, 2010, 08:13:14 AM
:bg

Frank,

Its more like the sausage factory at the moment with Mount Everest in front of me.

Well, eventually you took the long waited decision:

It's time to build your masterpiece!  :P

Enjoy  :U

Frank
Title: Re: Extended version of "bin2db"
Post by: ramguru on October 25, 2010, 11:24:46 AM
How about making group of radio menu items, so it's clear what's selected :}
Title: Re: Extended version of "bin2db"
Post by: hutch-- on October 25, 2010, 12:12:18 PM
 :bg

Its already written on the title bar.
Title: Re: Extended version of "bin2db"
Post by: ramguru on October 25, 2010, 12:50:29 PM
Oh yeah, I didn't notice at first :} (so may other)
that must be because title-bar was changing too obsessively (whenever I hovered toolbar button) and stopped paying attention to it.
BTW, why not just use standard tool-tips for toolbar ? Now when I hover a button I have to direct my gaze upwards to see it's meaning, kinda inconvenient.
Title: Re: Extended version of "bin2db"
Post by: hutch-- on October 25, 2010, 01:47:56 PM
> BTW, why not just use standard tool-tips for toolbar ?

I would not want to stop you if you write code like that but I see the standard tooltips as a badly designed and very slow control, great for the mums and dads but hopeless for experienced users.
Title: Re: Extended version of "bin2db"
Post by: caseys on December 29, 2010, 05:30:45 PM
wow! nice! maybe you wanna share a source too? (::
Title: Re: Extended version of "bin2db"
Post by: jj2007 on December 29, 2010, 06:19:42 PM
Quote from: hutch-- on October 25, 2010, 01:47:56 PM
very slow control, great for the mums and dads

You know about TTM_SETDELAYTIME, do you?
:wink
Title: Re: Extended version of "bin2db"
Post by: hutch-- on December 29, 2010, 06:47:51 PM
 :P

I gather you mean this source code.


    hToolTips = SendMessage(tbHndl,%TB_GETTOOLTIPS,0,0)
    SendMessage hToolTips,%TTM_SETDELAYTIME,%TTDT_RESHOW,0
    SendMessage hToolTips,%TTM_SETDELAYTIME,%TTDT_INITIAL,0
Title: Re: Extended version of "bin2db"
Post by: caseys on December 29, 2010, 09:40:20 PM
i mean full application source code please =]
Title: Re: Extended version of "bin2db"
Post by: hutch-- on December 30, 2010, 12:04:20 AM
caseys,

Sorry but its in another language, part high level, part assembler and I don't post source code for these tools.
Title: Re: Extended version of "bin2db"
Post by: caseys on December 30, 2010, 12:12:09 AM
fair enough, i understand =] i have it in C and some other different languages. i thought the one you have was masm32\tools\bintodb extended version [= well, thanks anyway!
Title: Re: Extended version of "bin2db"
Post by: dedndave on December 30, 2010, 12:18:52 AM
if Hutch uses an exe packer, it probably means he doesn't want to give out the source   :P
but - it isn't that difficult of a function to write, really
and - he helps you out with prostart code generator (not to mention the rest of the masm32 package)
Title: Re: Extended version of "bin2db"
Post by: Magnum on December 30, 2010, 12:47:37 AM
I love the large toolbar icons.

What would this program be used for?

Title: Re: Extended version of "bin2db"
Post by: dedndave on December 30, 2010, 03:41:18 AM
well - it makes it easier to take information (a file of any type, basically) and include it in an asm program as data
it could be used for unicode strings, as an example
if you have a unicode file - convert it to DB's and add it to a program