Log in

View Full Version : New kind of protection very used


NikDH
August 19th, 2001, 06:32
Hi guys,
lately i've noticed many progs when u click
on the about menu show something like this:
bla bla bla
licensed to:
----------------------------
Thats a fucking trial
Go register it
----------------------------

The ---- represent a panel and when it registers
it only changes the text inside it

So what have i to bpx to intercept what is it writing inside the panel ?
Whats the api responsable 4 the text writing inside panels?
DrawTextA() ?

Tnx a lot

See ya
NikDH

Kayaker
August 22nd, 2001, 23:02
Hi NikDH,

If it's an About box you're dealing with there's a good chance its a DialogBox. In which case the panel is likely a disabled edit control or a static text label.

The text of either control can be changed with SetDlgItemText. Or the application might send a message to the control with SendMessage or SendDlgItemMessage and a WM_SETTEXT message.

With this in mind you can look around the code for these calls. They may point to where the text can be rewritten.

DrawText or SetWindowText I think are more likely to be used if the about box was a regular Window rather than a DialogBox.

Hope this helps,

Kayaker