Jump to content

Receive Message in Plug-in


This topic is 6939 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

Hi everyone,

Now I'm writting a plugin that can communicate with a mobile device by wireless network. I can send messages to that device but I can't not receive messages.

If I develop a MFC application, I coulde register message map as follow

BEGIN_MESSAGE_MAP(CMyApplication, CDialog)

// Device Sever Messages

ON_REGISTERED_MESSAGE(WM_MYDEVICE_CONNECT, OnMyDeviceConnect)

END_MESSAGE_MAP()

How can I register a message in my plug-in?

Thanks in advance.

Link to comment
Share on other sites

This topic is 6939 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.