Hi Shabbir,
thanks for the link.

I have one more problem, hope u will help me

1. By only seeing the exe how would I search for the resources ? should I saerch for every possible resource which I need to acccess and which are whizible in the exe ?

2.Suppose I get the handle of the dialogue box, now how will I get the handle of the resources which are inside this dialogue box. e.g button, text box etc, check box , menu bar etc?
can u suggest some APIs as I have never used windpws SDK before.