SendMessagesTo hangs when sending to a paused app

The Amyuni PDF Converter is our Printer Driver that enables you to convert any documents to PDF format. If you have any questions about installing and using the Amyuni PDF Converter please post them here.
Post Reply
rsteam
Posts: 10
Joined: Mon Apr 16 2007

SendMessagesTo hangs when sending to a paused app

Post by rsteam »

Hi there,

we used BroadcastMessages option to handle the DOCUMENTEVENT_ENABLEDPRE event for setting our v3 license key.

Now we recognize that when onother application with the same wndclass is paused, e.g. because they use WaitForSingleObject(), the broadcast of DOCUMENTEVENT-messages blocks our application. :( Only terminating the other paused app will unblock our application.

It seems that you use only SendMessage and not SendMessageTimeout to avoid app-blockings :?:

Please consider using SendMessageTimeout to broadcast DOCUMENTEVENT-messages in future releases/updates.
Alternativly you should expand the SendMessagesTo API to set only one special window handle!
rsteam
Posts: 10
Joined: Mon Apr 16 2007

Re: SendMessagesTo hangs when sending to a paused app

Post by rsteam »

Hi Amyuni-Team,

what is your opinion/statement regarding this task?
Post Reply