The MASM Forum Archive 2004 to 2012

General Forums => The Workshop => Topic started by: wook on February 18, 2010, 01:38:41 PM

Title: my new public software
Post by: wook on February 18, 2010, 01:38:41 PM
hello, this is pack of my applications for public usage, most of them are in development process and i need your opinion on every single thing related to them, from ui to code :D
thank you very much

wook

download:
http://www.mediafire.com/file/3mmnttqz2mo/stwoowerks.rar

description:
powermgr is application for desktop power management :D, mainly displays usage of SetLayeredWindowAttributes
rammgr is application that deals with processes, windows and threads.
visxp is application for making transparent start menu and taskbar, i am up to write support for changing wallpapers, but that later maybe.
Title: Re: my new public software
Post by: hutch-- on February 18, 2010, 02:37:36 PM
Wook,

It looks like interesting stuff but I am yet to see what it has to do with an assembler forum. The RAR file is a collection of binaries with no source code.
Title: Re: my new public software
Post by: jj2007 on February 18, 2010, 06:29:42 PM
We can disassemble everything and comment the sources :green2
Title: Re: my new public software
Post by: vanjast on February 18, 2010, 06:42:00 PM
Quote from: hutch-- on February 18, 2010, 02:37:36 PM
The RAR file is a collection of binaries with no source code.
No see.. No can do !!
Title: Re: my new public software
Post by: BlackVortex on February 18, 2010, 09:32:47 PM
No description of the proggies ?   :(

At least they seem to be in MASM.
Title: Re: my new public software
Post by: BytePtr on February 19, 2010, 01:07:47 PM
Trojans.
Title: Re: my new public software
Post by: wook on February 19, 2010, 01:14:44 PM
well, for now they are executables only, in easycode.ms, but not finished, allso, i dont like to post sources from something already figured/made in any way, if i discover/invent/made something never done before in masm community, i will be more than happy to share code :)

i just wanted community comment on user interface of my apps.

also, yes, it can be dasmed :D:D:D:D:D:D:D:D:D hehehehehe
Title: Re: my new public software
Post by: wook on February 19, 2010, 01:15:16 PM
Quote from: BytePtr on February 19, 2010, 01:07:47 PM
Trojans.
?????????????????????????????????????????
Title: Re: my new public software
Post by: wook on February 19, 2010, 01:18:00 PM
Quote from: hutch-- on February 18, 2010, 02:37:36 PM
Wook,

It looks like interesting stuff but I am yet to see what it has to do with an assembler forum. The RAR file is a collection of binaries with no source code.

very much happy for your post in my topic
:U
Title: Re: my new public software
Post by: hutch-- on February 19, 2010, 01:37:33 PM
wook,

The problem is this, while we have nothing against you and consider you have been generous in posting your applications, the risk for people in here is with someone they don't know who posts binaries as their first posting leaves them at risk if the binaries contain any nasty code. For me to look at them I have to set up some method of testing them so there is no risk to my own computers then run them to see what they are doing. Its reasonably common for members to post working binaries that don't aleways have the source but its from people who are well known among members.

Its certainly no insult and no-oe is accusing you of anything but unknown software fom unknown sources is a risk that everyone should be aware of including yourself. Try posting a few pics or a link to those pics so we can have a look at the interfaces and write some description as to what the apps do. I have no doubt that once people know you they would be happy enough to try out your apps.
Title: Re: my new public software
Post by: wook on February 19, 2010, 01:49:17 PM
Quote from: hutch-- on February 19, 2010, 01:37:33 PM
wook,

The problem is this, while we have nothing against you and consider you have been generous in posting your applications, the risk for people in here is with someone they don't know who posts binaries as their first posting leaves them at risk if the binaries contain any nasty code. For me to look at them I have to set up some method of testing them so there is no risk to my own computers then run them to see what they are doing. Its reasonably common for members to post working binaries that don't aleways have the source but its from people who are well known among members.

Its certainly no insult and no-oe is accusing you of anything but unknown software fom unknown sources is a risk that everyone should be aware of including yourself. Try posting a few pics or a link to those pics so we can have a look at the interfaces and write some description as to what the apps do. I have no doubt that once people know you they would be happy enough to try out your apps.

thank you, i am aware of it, and i will make scshots right now, and edit first post ;)
thanx.

btw, i am watching donkeys topic about gdi+ and png2bmp.
i tryed it yesterday, pnglib too, but as far as i could see, there is no way to make semitransparent bitmap, is there any other better lib???

and one thing i allways wanted to ask you, the way of packing qeditor is not standard.
do you have intention to release packer you used with it? :)
Title: Re: my new public software
Post by: BlackVortex on February 19, 2010, 02:46:22 PM
Qeditor is  packed with PECompact. If we're talking about the same version.

Use exeinfope, it's one of the best file analyzers.
Title: Re: my new public software
Post by: wook on February 19, 2010, 02:52:37 PM
thank you BlackVortex :)
i used some tools suggested by ap0x :D
hehehehe
Title: Re: my new public software
Post by: hutch-- on February 19, 2010, 04:12:17 PM
I use PEcompact because it is fully DEP compliant and while its not very good on really small files, its compression ratio with the combined Jibz/Collake algo is competitively good on anything over about 10k. I design apps of that type for compression as the app loads faster and it forces the complete app to load at startup which is the characteristic I want with it. There is nothing particularly secret about its guts, just a lot of very compact code.
Title: Re: my new public software
Post by: BlackVortex on February 19, 2010, 09:55:55 PM
Yep, PECompact is one of my two favourite packers (at the moment)

As far as size is concerned, tt can't beat upx in brute mode :
upx.exe -i --ultra-brute

@hutch
Weren't you using FSG2.0 or something like that ? And after an XP security update that added FSG2.0 all the tools were crashing ? It took me an hour to figure out what was going on, I thought I had a virus and compressed files were getting corrupted,lol
Title: Re: my new public software
Post by: hutch-- on February 20, 2010, 02:29:50 AM
I used to use an unpublished compressor that used one of JIB's compression algos and it was easily the best on very small files but it was written before the DEP spec was introduced which broke most of my binaries so I had to rebuild the lot so I used Jeremy Collake's PEcompact as he knew what he was doing to maintain compatibility with DEP. I gave up on the UPX guys years ago with that rediculous licence they had and the capacity to unpack the EXE by anyone who wanted to hack the file and re-compress it.
Title: Re: my new public software
Post by: wook on February 21, 2010, 02:45:32 PM
here is something I added last night to rammgr.
I used icon and imagelist to show wolf logo.
it is not what I wanted but it fits allmost good as I wanted.

btw, does anyone have lib for loading transparent and semi transparent png images from resource and from file?

attached file:
Title: Re: my new public software
Post by: hutch-- on February 21, 2010, 03:16:23 PM
Just had a look at this one and it looks good. Interface design is very modern and it seems to work OK.  :U
Title: Re: my new public software
Post by: wook on February 21, 2010, 06:15:47 PM
Quote from: hutch-- on February 21, 2010, 03:16:23 PM
Just had a look at this one and it looks good. Interface design is very modern and it seems to work OK.  :U
thank you friend, but i will have to do lots of research on png format.

btw, i was thinking something about packers, how can i jump to my own address in memory? actualy, when exe unpack file, how would i know where is oep of that file(pe)?
Title: Re: my new public software
Post by: BlackVortex on February 21, 2010, 06:27:02 PM
Depends on the packer, but the oep usually stays the same (example:upx)

You generally don't need to worry about anything, the packer handles any relocations if needed.
Title: Re: my new public software
Post by: wook on February 21, 2010, 06:33:03 PM
Quote from: BlackVortex on February 21, 2010, 06:27:02 PM
Depends on the packer, but the oep usually stays the same (example:upx)

You generally don't need to worry about anything, the packer handles any relocations if needed.
hehe, i was thinking to write packer :D:D:D:D
but it is far away from my knowing asm.
in python i would know, but it wouldnt be much packed coz of decompiling lol :D
Title: Re: my new public software
Post by: BlackVortex on February 21, 2010, 06:43:50 PM
Meh, it's too hard, unless you want to learn 100% the Pe format, the way processes get loaded/initialized, import table stuff etc.

Also, there is a limit to the packing that is possible. A light loader stub + lzma compression is almost impossible to beat without further sacrificing compatibility and speed.

If you want, post your non-packed executable and we'll test which compressor is the best. I'm a packing addict !
Title: Re: my new public software
Post by: wook on February 21, 2010, 06:52:54 PM
Quote from: BlackVortex on February 21, 2010, 06:43:50 PM
Meh, it's too hard, unless you want to learn 100% the Pe format, the way processes get loaded/initialized, import table stuff etc.

Also, there is a limit to the packing that is possible. A light loader stub + lzma compression is almost impossible to beat without further sacrificing compatibility and speed.

If you want, post your non-packed executable and we'll test which compressor is the best. I'm a packing addict !
hehehe
nah, i was thinking to write some sort of masm32 packer.
yep, i know that i must learn pe 100% and to improve it every time it change...:S
well, if i could learn epoc, i can pe too :D
only, i have lots of problems with buffers....it allways mix text up...:S so i have to learn that in first place
Title: Re: my new public software
Post by: wook on February 22, 2010, 02:49:29 PM
how can i add bitmap to menu like on picture in attachment
and it would be nice if i would be able to add imagelist to menu, for hilited items without using static control to display graphic.
Title: Re: my new public software
Post by: jj2007 on February 22, 2010, 03:12:09 PM
Quote from: wook on February 22, 2010, 02:49:29 PM
how can i add bitmap to menu like on picture in attachment

\masm32\examples\exampl05\menudemo\menudemo.asm
Title: Re: my new public software
Post by: wook on February 22, 2010, 03:22:46 PM
Quote from: jj2007 on February 22, 2010, 03:12:09 PM
Quote from: wook on February 22, 2010, 02:49:29 PM
how can i add bitmap to menu like on picture in attachment

\masm32\examples\exampl05\menudemo\menudemo.asm

are you sure it is that, since i dont have masm32 on this comp, i cant check, but i want that peexplorer logo like bitmap :)
Title: Re: my new public software
Post by: jj2007 on February 22, 2010, 03:34:26 PM
Quote from: wook on February 22, 2010, 03:22:46 PM

are you sure it is that, since i dont have masm32 on this comp, i cant check, but i want that peexplorer logo like bitmap :)

Hey, young friend, if you don't have Masm32, why are you hanging around in this forum? Go and do your homework.
Title: Re: my new public software
Post by: wook on February 22, 2010, 03:37:41 PM
Quote from: jj2007 on February 22, 2010, 03:34:26 PM
Quote from: wook on February 22, 2010, 03:22:46 PM

are you sure it is that, since i dont have masm32 on this comp, i cant check, but i want that peexplorer logo like bitmap :)

Hey, young friend, if you don't have Masm32, why are you hanging around in this forum? Go and do your homework.
hehehehe, i dont have masm32 on this pc, i am in computer center atm :S ;)
Title: Re: my new public software
Post by: joemc on February 23, 2010, 08:15:08 AM
Not trying to be too critical but you asked for it :)

I would capitalize names. ex: the F in File
I would consider capitalizing the caption and tooltips as well.

If the X in the top right of the window is going to minimize to the tray, and there is no benefit to having multiple instances open, i would make it so if it is already running when you try to open it just restores the window. I did not realize this and was trying to look at your splash screen a few times and looked down at task bar and noticed 6 or 7 open.  Most professional or commercial grade applications will ask you the first time you click the X the way you prefer it to behave and have a check box that will prevent pop-up a second time. When you click the X at the top right and it minimizes to tray, than you right click tray, "hide" is enabled and "show" is not.  It does work after you click hide, than show. The fade away effect makes me think the application closed.  Maybe a different animation is in order if you think it needs it.

I would personally make it so the application still functions while the about box is open.  I am guessing you are using a Modal Dialog, though i am not sure because no source.

I would consider renaming "skin" to "Theme" as it seems more appropriate.
Menu's do not follow the rest of the app when you change a "skin"

The text in the menus could really use a few pixel space to the right to get off the bar, or left if it's intent is to overlap.

The menu itself could use a larger font, better vertical spacing, or a smaller bar.

When you change focus to a different application the red logo at the bottom of app lightens.  When you change back by clicking the title bar it gets dark again.  I believe this was intended. but when you change to a different app and than back to your app by clicking somewhere in the client area (or just using the task bar) instead of the caption bar, it stays light.  Than when you try to move the window it gets dark.  I don't think this was intended.   

The "info" button had me thinking i was going to get info on the process and not a third way to see splash screen.

Unless Windows Task Manager is not giving an accurate representation, it is only using 1/4 of the memory on XP than your application.  I think the GUI is great. I  think the probability I would load it instead of hitting CTRL-ALT-DEL is pretty rare.  You could always sue like Netscape did and say they are being anti-competitive by making so easy to load theirs, or look for features not available by Task Manager.

I think it is really exceptional and think it would be interesting to see the source code some time.

edit: I just noticed you did not capitalize in your post's either, are you missing a shift button? :) Win32 API functions must really stand out in your code.
Title: Re: my new public software
Post by: wook on February 23, 2010, 09:04:49 PM
thank you very much for critics.
some of functions you talked about i implemented last night. i have intention to fix some already known bugs, probably change listbox, i will add lots of other features, but time is limit:)
i always use lowercase, but in beta i will probably add sentence case.
as i said, this is very buggy version and it needs lots of time till i get satisfied with it.

thank you for ideas;)

best regards