开发者

Getting response from SendMessage() + WM_COPYDATA

开发者 https://www.devze.com 2023-02-03 22:34 出处:网络
Currently I am working on a sample which sends user data to the other process using WM_COPYDATA. I construct the COPYDATASTRUCT structure to fill the user data.开发者_开发知识库 And send the data to o

Currently I am working on a sample which sends user data to the other process using WM_COPYDATA. I construct the COPYDATASTRUCT structure to fill the user data.开发者_开发知识库 And send the data to other process using SendMessage() function. The OnCopy() function returns true/ false value. But want to get other than the true/false(Like int, char[], float, etc).

Please help me to getting the response from the other process other than true/false

Regards


Hi all you can to do its send response by SendMessage with COPYDATASTRUCT struct which consist your return data. You cant change SendMessage return type.

0

精彩评论

暂无评论...
验证码 换一张
取 消