Hi,

I'm going to write a program, that can protect any PE files with a password dialog while it starts, so that the user must input the correct password to run it. Now my question is: the dialog is a resource, but how can i add this resource into the destination? And how can i make a "Message Loop" in my section?

Any MASM source codes will be very helpful for me, thank you all!!:stupid:
Posted on 2002-11-20 08:27:45 by pazuluo
Please read our forum rules a bit more carefully...
Posted on 2002-11-20 08:29:23 by JCP
Oh, sorry!!! I'm so stupid...... Now i've changed the words.
Can anybody help me?
Please!
:cool:
Posted on 2002-11-20 08:38:25 by pazuluo
A google search brings up some source code.
Posted on 2002-11-20 08:40:05 by bazik

A google search brings up some source code.


Thank you bazik! :)
But the problem is that I've googled, but still can't find any source code...:stupid:
Which keyword I should use...?:)
Posted on 2002-11-20 08:55:34 by pazuluo
just don't use resources... do it by hand with createwindow...
adding resources should be very very hard...

messageloops should be easy as hell... i mean what would be the
problem... it's not different from a normal messageloop with the
exception that you must hook your api's together and must write
relocatable code (with delta alignment) that's all...

we had dozens of threads like that... please look at [this] thread
also take a look at the exe-binder i wrote
it is bugfixed and commented
Posted on 2002-11-20 09:10:34 by mob

just don't use resources... do it by hand with createwindow...
adding resources should be very very hard...

messageloops should be easy as hell... i mean what would be the
problem... it's not different from a normal messageloop with the
exception that you must hook your api's together and must write
relocatable code (with delta alignment) that's all...

we had dozens of threads like that... please look at [this] thread


So nice man you are, thank you mob!!!
:)
Posted on 2002-11-20 09:13:43 by pazuluo
.
Posted on 2002-11-21 18:56:42 by comrade

.


comrade, thank you!
I am just wondering if you can give me the source for studying? my email is:
pazuluo@hotmail.com

anyway, it's okay if you don't want to...
just :grin: to thank you!
Posted on 2002-11-21 21:32:42 by pazuluo
comrade,

I just got done testing your program and I'm sure it's not intentional but my Norton popped up with a virus warning right after I protected a exe. You might want to change some stuff if you want to further develop your program. By the way - no damage was done cause I quarantined the virus.
Posted on 2002-11-22 03:24:27 by bubba
So you really think it was a virus?
Posted on 2002-11-22 03:32:04 by Maverick
It was probably a false alarm for safety reasons. Norton's explanation here
Posted on 2002-11-22 03:58:11 by bubba

comrade,

I just got done testing your program and I'm sure it's not intentional but my Norton popped up with a virus warning right after I protected a exe. You might want to change some stuff if you want to further develop your program. By the way - no damage was done cause I quarantined the virus.


bubba, i'm sure it's not a virii, since it used some techniques of virii.
Posted on 2002-11-22 04:53:16 by pazuluo