B
boycxd
Unregistered / Unconfirmed
GUEST, unregistred user!
用DELPHI调用VC++写的DLL,有个函数是请求数据的函数,如何在DLPHI中定义消息来接收DLL发过来的消息,以备进行必要的处理?就这么多分了。比较吉利(58分)在线等。
有个VC++的例子。但是不知道DELPHI如何实现的!
UINT nReplyMsg = RegisterWindowMessage("SCDemo Reply Message"
ON_REGISTERED_MESSAGE(nReplyMsg, OnReply)
sca.m_nMsg = nReplyMsg;
ON_REGISTERED_MESSAGE(nReplyMsg, OnReply)
LRESULT CSCDemoDlg::OnReply(WPARAM wParam, LPARAM lParam)
afx_msg LRESULT OnReply(WPARAM wParam, LPARAM lParam);
有个VC++的例子。但是不知道DELPHI如何实现的!
UINT nReplyMsg = RegisterWindowMessage("SCDemo Reply Message"
ON_REGISTERED_MESSAGE(nReplyMsg, OnReply)
sca.m_nMsg = nReplyMsg;
ON_REGISTERED_MESSAGE(nReplyMsg, OnReply)
LRESULT CSCDemoDlg::OnReply(WPARAM wParam, LPARAM lParam)
afx_msg LRESULT OnReply(WPARAM wParam, LPARAM lParam);