New topic: 

Best Practices - Compare VB6 COM objects with RS

<http://forums.realsoftware.com/viewtopic.php?t=45177>

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        tseyfarth          Post subject: Best Practices - Compare VB6 
COM objects with RSPosted: Thu Aug 30, 2012 1:23 am                         
Joined: Sat Dec 04, 2010 9:14 pm
Posts: 673                Hello all,

I would appreciate some advice and direction - if you care to share.

In our existing product, multiple ActiveX Executables are utilized wherein the 
Main Executable creates the object on start up then provides some properties 
for operational guidance, then the COM Object basically sits in a loop, waiting 
for a special text file to appear.  The *main* reason for separating the 
COM.exe from the Main.exe in VB6 was to separate the memory space, and provide 
for as few interruptions to the *main* application as possible - the main 
contained serial polling loops and the processing of the incoming serial data.

Now I need to re-create this, in a similar but not necessarily exactly the same 
way.  In the case of RS, I currently have a Console Service Application that 
encompases a Serial polling loop which is inside of a Module.  I also have a 
EasyTCPIP Web Server, wrapped inside of a Module.  These two currently are 
quite happy working together, inside the single Service Application. 

So, at least some of the questions are,  should this COM object replacement be:
1. Created as a separate service?  
2. Coded in the existing Service, but as a separate thread (threading would be 
new for me, but so has everything!)
3. Does the entire topographic design need to be rethought?  There is still 
time but only if necessary!
4. Other means?

The goals are:
To give the serial polling engine primary focus.
To give the TCP Server primary/secondary focus - secondary to the serial 
polling.
To allow the COM object replacement focus as necessary.  If slower by a few 
milliseconds, or even 1 or 2 SECONDS, no big deal.

Thoughts anyone?

Thank you in advance,
Tim   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to