Re: Multi-Threaded 'Get' Example (General questions)
Damba,
Thanks for the example...
In trying to use an array, this does not appear to work:
Dim WithEvents http1(3) As wodHttpDLXCom
Can you provide an example of using an array?
Also it seems with blocking on, each thread/instance will have to wait on the other to complete...
What is the implication of setting blocking off? I was wondering if it were possibily to use it asycnronously.
Greg
Greg,
It's simple as declaring two instances, something like this (VB6 syntax):
Dim withevents http1 as wodHttpDLXCom
Dim withevents http2 as wodHttpDLXComand initializing them using New statements:
Set http1 = new wodHttpDLXCom
Set http2 = new wodHttpDLXComOfcourse, you can also use an array to create multiple instances.
Hope this helps.
Regards,
Damba
Complete thread:
- Multi-Threaded 'Get' Example - ActiveGreg, 2009-02-23, 17:26
- Re: Multi-Threaded 'Get' Example - wodDamir, 2009-02-23, 17:31
- Re: Multi-Threaded 'Get' Example - ActiveGreg, 2009-02-23, 17:48
- Re: Multi-Threaded 'Get' Example - wodDamir, 2009-02-23, 18:29
- Re: Multi-Threaded 'Get' Example - ActiveGreg, 2009-02-23, 18:55
- Re: Multi-Threaded 'Get' Example - wodDamir, 2009-02-23, 19:14
- Re: Multi-Threaded 'Get' Example - ActiveGreg, 2009-02-23, 19:44
- Re: Multi-Threaded 'Get' Example - wodDamir, 2009-02-23, 19:49
- Re: Multi-Threaded 'Get' Example - ActiveGreg, 2009-02-23, 19:52
- Re: Multi-Threaded 'Get - ActiveGreg, 2009-02-23, 19:55
- Re: Multi-Threaded - ActiveGreg, 2009-02-23, 20:02
- Re: Multi-Threaded 'Get' Example - wodDamir, 2009-02-23, 20:27
- Re: Multi-Threaded 'Get' Example - ActiveGreg, 2009-02-23, 20:44
- Re: Multi-Threaded 'Get' Example - wodDamir, 2009-02-23, 20:50
- Re: Multi-Threaded 'Get' Example - ActiveGreg, 2009-02-23, 21:03
- Re: Multi-Threaded 'Get - ActiveGreg, 2009-02-27, 02:29
- Re: Multi-Threaded - woddrazen, 2009-02-27, 09:03
- Re: Multi-Threaded - ActiveGreg, 2009-03-08, 20:42
- Re: Multi-Threaded - woddrazen, 2009-02-27, 09:03
- Re: Multi-Threaded 'Get - ActiveGreg, 2009-02-27, 02:29
- Re: Multi-Threaded 'Get' Example - ActiveGreg, 2009-02-23, 21:03
- Re: Multi-Threaded 'Get' Example - wodDamir, 2009-02-23, 20:50
- Re: Multi-Threaded 'Get' Example - ActiveGreg, 2009-02-23, 20:44
- Re: Multi-Threaded 'Get' Example - wodDamir, 2009-02-23, 20:27
- Re: Multi-Threaded - ActiveGreg, 2009-02-23, 20:02
- Re: Multi-Threaded 'Get - ActiveGreg, 2009-02-23, 19:55
- Re: Multi-Threaded 'Get' Example - ActiveGreg, 2009-02-23, 19:52
- Re: Multi-Threaded 'Get' Example - wodDamir, 2009-02-23, 19:49
- Re: Multi-Threaded 'Get' Example - ActiveGreg, 2009-02-23, 19:44
- Re: Multi-Threaded 'Get' Example - wodDamir, 2009-02-23, 19:14
- Re: Multi-Threaded 'Get' Example - ActiveGreg, 2009-02-23, 18:55
- Re: Multi-Threaded 'Get' Example - wodDamir, 2009-02-23, 18:29
- Re: Multi-Threaded 'Get' Example - ActiveGreg, 2009-02-23, 17:48
- Re: Multi-Threaded 'Get' Example - wodDamir, 2009-02-23, 17:31