Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


ID: 16400, Improving Midas Pooler Example with One Com Object

by Manuel Parma Email: Anonymous


This Midas Pooler Example use One Com Object to all connected clients improving memory load and speed.
Please is important your feedback!!
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 3.0  to 3.0 1004 downloads
Copyright: No significant restrictions


Size: 3,742 bytes
Updated on Fri, 20 Jul 2001 00:37:17 GMT
Originally uploaded on Fri, 20 Jul 2001 00:59:28 GMT
SHA1 Hash: 50DF6C855604BACD7F7BE7F2957A3788C4D855A6
MD5 Hash: 4AC509B96E33B6A204EE1C7E2814F27A

    Explore the files in this upload

Description
This Midas Pooler Example use One Com Object to all connected clients improving memory load and speed.
To use this example you need take from demos\midas\pooler and then remplace pooler.pas for my pooler.pas and add then SingleComObjectFactory.pas unit
This New Factory take control about createinstance to avoid create innecesary com objects. This Factory has a compiler directive to choose a persistent object or non persistent object.
Persistent object will be destroy when the project free the factory.
Non persistent object will be free each time that clients count is 0
This technique use unsupported feature of COM that leave have one COM object to many threads. Please is important your feedback!!
Manuel Parma
mparma@usa.net

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC04