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.
精彩评论