Merging of two EXEs

I have two Exes. Exe1 and Exe2 . communication between two exe is established using TIdTCPClient. On CLicking "Merge" button in exe1. i should get the handle of exe2, through which i will get the fmx form to merge it into the panel of exe 1.  I am getting the exact handle of exe 2 form . But on using  the below code, it is returning NULL

"TCommonCustomForm  *wd1 = Fmx::Platform::Win::FindWindow(fmxHandle); " // wd1  becomes null 

Top Replies