Sendmessage api | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Sendmessage api

Hi I have one project which is exe. This has mfc dialog and can we use sendmessage from this exe code to display something on dialog? Also we have one com DLL for which we do cocreateinstance.... Can we send data from DLL function to exe dialog using sendmessage ? Using visual studio 2019 as ide...

9th Sep 2021, 3:32 PM
Ketan Lalcheta
Ketan Lalcheta - avatar
1 Answer
+ 2
I am not sure what exactly your trying to do but I think sending a message to the dialogue from a DLL should be possible. You should call the sendmessage function if it's available in the DLL from your exe code. If sendmessage is not available than you'll need to implement it yourself.
1st Oct 2021, 6:35 AM
Asanda Ndimande
Asanda Ndimande - avatar