Thanx, guys
Yep, Delphi apps are more different... yeah i have read Dafixer's tutorial before and Dede is such a lovely tool... but i am still having problem... ah well since when we dont get problems :>... but hopefully someone can tell me where i did wrong...
Okie.... I wanted to add OnClick event on one of the label, so i go to the resource section (DFM), add in OnClick : Label1Click...
Then i go to the declration section in data section, increase the number of procedure declared in form 1 from 8 to 9 (1 more)... then i inserted a new procedure, with the same format as other procedure, aka : Hint, VA, ProcName
0000 0050 4000 0BLabel1Click
(of course Label1Click was in Hex :>>>
Yeah then i adjustted the caption etc so that the offset of others are same, ( i got lots of stream read error befoer getting this right)... so now Dede decompile it fine... it recognise my added procedure but when i run the prog, i get this error, Label.OnClick : invalid operand.....
When i change Label1OnClick to button1Click (an proc from the original program), it runs fine and when i clicked on label1, itperform button1click procedure.. but if i change this button1click to label1 click it reports the error...
So my question is do I have to declare my new added proc somewhere else as well before i can call it? (make sense but a search in the exe file for name of the original proc did not yield any other info :<.... Hope i made myself clear... somehow i feel that you would not understand what i am writing about :<<<.
Ah well... that is all... hopefully soemone can tell me what is wrong?
P.S : DaFixer tutorial only includes modifying event handler of existign procedure, not adding new one....