Posted by ShADe on 1/15/2000, 3:07 pm
, in reply to "ShADes Thread"
203.57.68.10
I wasn't very happy with my answer to 1.4 so i decided to take a closer look and have a
play. It would appear after looking through the dead listing a little more thoroughly (and
reading some of the other posts) that the window is indeed a messagebox and is called with
messageboxa.So I was wrong to think that is was not just on the basis of it not having an icon. I
didn't even know that you could have a message box without an icon.
So armed with my windows API reference and the messageboxa parameters I had a play.I don't think this is stepping on Lazarus's toes with the forthcoming tasks but I
appologise if it is.The type of message box is stipulated by the:
:004472C8 6A00 push 00000000
command. Try changing the 00 in a hex editor to 11 for some messagbox fun.
You have just added an icon and a cancel button.
You can do many other things with our little message box.The various parameters you can
use can be found in your windows API reference.Try changing this line:
:004472CF 6857A14900 push 0049A157to
6802A14900
In your hex editor and you will never fail to register the program again ;-)
Also had a play with the date a little, just for the sake of it :)Can find no correlation which is obvious but it does seem to be the fifth and sixth digits
of the hex that immediatly effect the date.By changing the '5' in my number:01bf5eed
to a '4' I lose twenty days from my trial period. By changing it to a '6' however I must
be ahead of time because I expire. Changing the first 'e' I can move the days up and down
one at a time.Not that this is important but what the hell.
Could I make a suggestion for the board though.If someone is requiring help perhaps the word 'help' should be included in the subject.
This board looked real nice at the begining but it's like a plate of spaghetti now. The
only way I can read all the posts is to Teleport the whole lot to my hard drive. At what
point do threads start to drop of the end of this thing anyway???