|
-
May 25th, 2005, 03:35 AM
#1
Thread Starter
Frenzied Member
Multithreaded application using Active Exe
Hi All!
In short... i have an application which was running on 4 different PCs now i have to run one application on server which performs the same work which those 4 applications were doing on different computers...
the work involves looping through a recordset continously(the new records are coming every minute)...
Instead of running 4 instances of same application on the server, i want to run one application which spawns 4 threads and all doing the same thing but with different parameters.
Can anyone suggest how to use ActiveX Exe for multithreading so that the 4 records can be simultaneously looped through... and every thread being independant... ( i wish i were coding in Java)
Thanx in advance
-
May 25th, 2005, 08:12 AM
#2
Re: Multithreaded application using Active Exe
True multithreading in VB is not possible.
There are proponents of simulating multithreading using VB and I've seen a number of examples, but I can not attest to their reliability.
Most of these examples use the CreateThread API, so you may want to look into that (although I've heard some unfavorable things about this API's stability.)
Just for the heck of it, I Googled Multithreading with VB6. Here is the results. You may find something here that can help you out.
-
May 25th, 2005, 08:18 AM
#3
Thread Starter
Frenzied Member
Re: Multithreaded application using Active Exe
 Originally Posted by Hack
True multithreading in VB is not possible.
There are proponents of simulating multithreading using VB and I've seen a number of examples, but I can not attest to their reliability.
Most of these examples use the CreateThread API, so you may want to look into that (although I've heard some unfavorable things about this API's stability.)
Just for the heck of it, I Googled Multithreading with VB6. Here is the results. You may find something here that can help you out.
I have got an idea regarding ActiveX Exe's.. as they'll all run in different processes..
right now working on its design ..
PS. Hack i don't know y i cant give u reputation points.. i owe u some on your help in Creating NTService
-
May 25th, 2005, 08:26 AM
#4
Re: Multithreaded application using Active Exe
 Originally Posted by moinkhan
PS. Hack i don't know y i cant give u reputation points.. i owe u some on your help in Creating NTService
No, you don't owe me anything sir!
Helping out is why many of us are here, and in my opinion, that is its own reward.
-
May 25th, 2005, 12:13 PM
#5
Thread Starter
Frenzied Member
Re: Multithreaded application using Active Exe
 Originally Posted by Hack
No, you don't owe me anything sir!
Helping out is why many of us are here, and in my opinion, that is its own reward.
okay.... okay .. i don't owe them... but can u tell me y it says u have to spread some points around before giving some to Hack, well i have already given some to another member...
-
May 25th, 2005, 12:14 PM
#6
Re: Multithreaded application using Active Exe
 Originally Posted by moinkhan
okay.... okay .. i don't owe them... but can u tell me y it says u have to spread some points around before giving some to Hack, well i have already given some to another member...
Once you rep someone, you can't rep them again until you have repped at least 10 other folks.
Thats the rule. I think it is a good rule. It prevents folks from just rep'ing each other over and over.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|