Adraen
09-03-2012, 05:12 AM
Hi everybody,
I tried to search the forum for a similar question, however, I was not able to find any async related questions.
So I am trying to use winhttp to do async http request, I have declared the object with WithEvents and defined a couple of events howerver they are not triggered :/.
I have checked with a packet sniffer that my server was sending the data as expected.
I have joined the file to this post if someone can take a quick look :).
The calling code is the function Test in the module Module1 (I will refactor everything when I code this working ^^). The main logic for the event handling is in the class module AsyncMessageDispatcher.
thanks !
I tried to search the forum for a similar question, however, I was not able to find any async related questions.
So I am trying to use winhttp to do async http request, I have declared the object with WithEvents and defined a couple of events howerver they are not triggered :/.
I have checked with a packet sniffer that my server was sending the data as expected.
I have joined the file to this post if someone can take a quick look :).
The calling code is the function Test in the module Module1 (I will refactor everything when I code this working ^^). The main logic for the event handling is in the class module AsyncMessageDispatcher.
thanks !