Problem:? I have written a service which uses a third party API.? This third party api would normally raise events when used in a Windows Form application.? Because i am using the api in a SERVICE, the events are not being raised to my service code.?
Task:? I need to access the windows message queue via a hook or another method to continuously retrieve the messages in the queue.?
I basically need to do this:
[[url removed, login to view]]
in C#? vs 2008 .net 3.5
Must be done in C# and .net 3.5
Code must continuously, via? an infinite loop or etc, retrieve messages from the program message queue.