2
2days
Unregistered / Unconfirmed
GUEST, unregistred user!
请如何将程序接收到的msg.LParam转化为 IhtmlDocument2类型? <br><br>const WM_PageMessage = WM_USER + 1002; <br><br>这是发送的方的代码:<br><br>F:IhtmlDocument2;<br>.....<br>SendMessage(Found, WM_PageMessage, 0, Integer(Pointer(F)));<br><br>接收方的代码该怎么写?或者是如何能正常地在两个程序间传递IhtmlDocument2接口?<br><br>procedure TMainForm.PageIn(var Msg: TMessage);<br>var F:IHtmlDocument2;<br>begin<br> { showmessage(inttostr(msg.LParam));<br> 我用这句可以显示一串数字 }<br> <br> 请问这个F该如何得到?<br>end;<br><br>