The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: ecube on January 20, 2010, 10:10:05 AM

Title: Help Finding GUI DLL
Post by: ecube on January 20, 2010, 10:10:05 AM
A few years ago I stumbled across a fantastic dll  written in MASM that let you visuall create your GUI like EasyASM does, only it generated the winapi calls code after. It came with source and I remember distinctly that the dll compiled to 1 megabyte. Unfortunately I lost my copy, and can't remember the name. I've been searching for months trying to find it, if you know anything about it, or have a copy please help, I wanna do big things with this project  :U
Title: Re: Help Finding GUI DLL
Post by: dedndave on January 20, 2010, 11:06:20 AM
i was trying to find it Cube   :bg  no luck   :red
but, i had a couple ideas that might help jog your memory
1) do you have anything substantial that was written using the library - is it saved or posted somewhere ?
   maybe you have some source code laying around that referenced the library name
2) have you mentioned the library in the forum before ? - if so, maybe the forum search tool could help you
3) try to remember how you came across the library - maybe you were looking for something else at the time
Title: Re: Help Finding GUI DLL
Post by: ecube on January 20, 2010, 07:03:21 PM
Dave,
I tried those steps without much luck, a lot of older ASM sites are gone now :\ I did find example code the dll generates, but didn't find any references to the name or the source of the DLL


;---------- [Create the Control Window] ----------
         INVOKE     CreateWindowEx, NULL, addr StaticClass, addr szText01,\
                    WS_CHILD or WS_VISIBLE or SS_NOTIFY,\
                    10, 146, 43, 16, hwnd, 2009, hInst, NULL
            mov     hStat04, eax

;---------- [Create the Control Window] ----------
         INVOKE     CreateWindowEx, NULL, addr StaticClass, addr szText02,\
                    WS_CHILD or WS_VISIBLE or SS_NOTIFY,\
                    10, 184, 46, 15, hwnd, 2012, hInst, NULL
            mov     hStat05, eax

;---------- [Create the Button Font] ----------
         INVOKE     lstrcpy, addr lf.lfFaceName, addr FontName
            mov     lf.lfHeight, 13
            mov     lf.lfWeight, 700
         INVOKE     CreateFontIndirect, ADDR lf
            mov     hFontB, eax
         INVOKE     SendMessage, win1, WM_SETFONT, hFontB, TRUE


that's an example of code generated by it, comments and all.
Title: Re: Help Finding GUI DLL
Post by: oex on January 20, 2010, 07:07:14 PM
You could use the named variables / comments in google search strings where variations might be found
Title: Re: Help Finding GUI DLL
Post by: donkey on January 20, 2010, 09:15:05 PM
RadASM can generate all of the API calls to build a dialog as a window. The DlgToWin addin is designed for that function and is easy to use. You have simply to design the dialog in the editor then select "Dialog to Window" from the Tools menu. You will be able to specify exactly what parts of the dialog you want generated as API calls. There is also a facility to write templates to customize the output but I have never attempted one and wouldn't know where to start, Ketil wrote the addin so he would know how.
Title: Re: Help Finding GUI DLL
Post by: dedndave on January 20, 2010, 09:32:38 PM
i tried searching on the comments - lol
not much luck, but a few links for you to browse....

http://daicas.net/WxExtLib/src/MessageExtDialog.cpp
http://www.viksoe.dk/code/autohide.htm
http://sourceforge.net/projects/wtl/files/
http://books.google.com/books?id=7PsZNxl_5U8C&dq=%22%5BCreate+the+Control+Window%5D%22&source=gbs_navlinks_s
http://www.microsoft.com/downloads/details.aspx?FamilyId=1BE1EB52-AA96-4685-99A5-4256737781C5&displaylang=en
http://www.masm32.com/board/index.php?topic=5944.0
http://wareseeker.com/Software-Development/Misc-Programming-Tools/
Title: Re: Help Finding GUI DLL
Post by: hutch-- on January 20, 2010, 09:49:33 PM
Cube,

this approach just vaguely rings a bell under the multiply used name "Visual Assembler" of about 10 years ago. It was done as a set of snippets that could be screwed together to make applications. The original died in 1998 but the DLL may have come from one of its successors.
Title: Re: Help Finding GUI DLL
Post by: jj2007 on January 20, 2010, 10:10:10 PM
Quote from: hutch-- on January 20, 2010, 09:49:33 PM"Visual Assembler"

A phrase search gives me as top link a page that is so harmful that Google doesn't even give me a chance to proceed ;-)

Warning - visiting this web site may harm your computer! (http://www.google.it/url?sa=t&source=web&ct=res&cd=1&ved=0CAcQFjAA&url=%2Finterstitial%3Furl%3Dhttp%3A%2F%2Fwww.fortunecity.com%2Fskyscraper%2Flycos%2F403%2F&rct=j&q=%22visual+assembler%22&ei=In5XS9Rh06H8BtHmiPsD&usg=AFQjCNHjD221ss7sj0pvSS8MLHfZ_B8-Sg)

:8)

You may go here  (http://www2.packetstormsecurity.org/cgi-bin/search/search.cgi?searchtype=archives&counts=75&searchvalue=ppc+asm+)at your own risk - search the page for visasm, several zips are available. Apparently it was a big project, but the latest update was over 10 years ago.
Title: Re: Help Finding GUI DLL
Post by: ecube on January 20, 2010, 10:29:05 PM
yeah unfortunately visual assembler isn't it, project i'm talking about was written in MASM and let you visual create your controls on a window, size em, set attributes etc just like EasyCode does only it generates api calls afterwards. Reason I want it is to add onto it so I can create subclassed controls automatically which will let me "skin" them with color and images, and produce visually exciting applications.  i'll look through those links thanks.
Title: Re: Help Finding GUI DLL
Post by: dedndave on January 21, 2010, 12:42:21 AM
starting from scratch would probably make for a better end result, Cube   :U
lol - i saw that VisAsm - with the warning from google - they don't put those there lightly
Title: Re: Help Finding GUI DLL
Post by: jj2007 on January 21, 2010, 12:54:57 AM
Quote from: dedndave on January 21, 2010, 12:42:21 AM
lol - i saw that VisAsm - with the warning from google - they don't put those there lightly

The warning refers to the whole site, which offers lots of "exotic" software.

The VisAsm project looks clean - considerable efforts have gone into that one, with a total of 367 files (Masm32: 3,000) in 26 sub-folders. It seems mostly 32-bit assembler. I have not been able to make it assemble anything, but in principle it looks operational ::)

I could not find a hint to the author(s). Here are the release notes:
QuoteVersion:  alpha0627
Distribution: Binaries
===================================================================
Installation Notes:

It helps if you have downloaded tools.zip and docs.zip, and extracted
them in the given directory structure. The first time you run Visasm
it will prompt you for configuration information; configure the
modules and tools immediately (at least the text editor) or use the
Visasm.samp file for defaults.

===================================================================
Additions/Fixes
6.27 Added Intern's completed syntax highlighting code and TWD's
     API insertables. Now has 750 API functions!
6.23 Disabled most of syntax highlighter (except in inserting code),
     forced font to Courier 10, fixed Fault in opcode insertion,
     fixed debugger/disasm menu and Run->Compile so they reflect
     the tools chosen in the Config Dialog boxes as soon as they are
     chosen.
6.12 Fixed bugs caused by config values not being loaded into
     global variables on 1st-time run; defaulted tool paths
     to tools included with visasm.

===================================================================
Known bugs:
* Clicking on one Visasm form does not bring all to top
Title: Re: Help Finding GUI DLL
Post by: dedndave on January 21, 2010, 12:59:00 AM
i imagine that a site could get hacked - a virus gets uploaded (i-framed html, perhaps) - and gets on google's naughty list
if the webmaster doesn't pursue it, it probably stays on the list
Title: Re: Help Finding GUI DLL
Post by: joemc on January 28, 2010, 07:58:20 AM
i found something similar to what your are describing except not in a DLL and  without source included. :(

There is a chance what you are looking for is also in this archive.

http://ghirai.com/hutch/files/win32asmboard_code_arhive.tar.bz2

CodeWiz is what i was looking at that made me remember this post.