Windows 2000 Support

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Sunday, 27 September 2009

No more COM

Posted on 11:58 by Unknown
Years ago I wrote my process enumeration and management module. It primarily uses the NT Native API, giving it extended capabilities over the standard PSAPI or ToolHelp Windows libraries. When I designed this component, I exposed it as a COM interface. This was because I had originally planned to resell it to other developers.

Years later, I never did resell it, and have no plans to do so. Only Process Lasso uses it. Now, because its a COM control there are occasionally problems with registry cleaners or users who don't have administrative rights to install the component. Who knows why registry cleaners sometime mistakenly target its COM registration. I suspect malfunction on their part.

For a long time now I've wanted to do away with this COM interface, but the risk of an accidental mistake deterred me. I mean, after conversion full regression and memory leak testing of every functional part is required.

Well, I've finally bit the bullet and got rid of the COM interface. Technically speaking, it is a very simple transition. COM interfaces are modelled on C++ classes, making them very easy to turn back into C++ classes. In fact, they can theoretically be referenced as C++ classes as-is. However, practically speaking, some work was necessary, especially with regards to object instantiation and data-type optimization.

Yes, this means I have a lot of regression testing to do. I plan to leave this beta series in beta for some time, back-porting minor updates to the last final build as needed (parallel development, as always).

So, what end effect does this have? Well, there is a substantial reduction in memory use by both the GUI and core engine. There's also a slight reduction in CPU use. Lastly, this opens the door for Process Lasso Portable Edition.

UPDATE: To give a more specific measurement, core engine memory usage has decreased by about 1.5MB on the average computer! This means its often using less than 1MB of RAM.

Enjoy ;)
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • WARNING: Cracks for Process Lasso may modify HOSTS file
    WARNING:  Cracks for Process Lasso have been seen to modify your system HOSTS file so that you can no longer access  bitsum.com  and/or  bit...
  • Process Lasso and WDFME
    Since Process Lasso can be complex for the layman, something we are working on, I wanted to list a set of steps to address the commonly abu...
  • Tightening the Governor
    Most users of Process Lasso are familiar with its core engine, ProcessGovernor.exe. It is the silent background process that applies all pro...
  • The many instances of Chrome
    As many readers of this blog may know, Google Chrome is different from other Windows web browsers. It isolates each of its tabs into an indi...
  • Oh the frustration with this corporate crapware!!
    I now get uninstall feedback, as I solicit it (for better or worse). Once read, I can never go back, lol. Fortunately, most of it is actuall...
  • ParkControl updated to v1.0.0.0
    This nifty utility, included in Process Lasso v6, lets you enable or disable CPU core parking in REAL TIME , no reboot required. It also let...
  • Next update, Options menu gets some changes
    I decided to make the Options menu a little more consistent and move the ProBalnce configuration down with the rest of the rules configurati...
  • Anti-virus software - the #1 cause of PC performance troubles
    Many users realize their anti-virus software consumes massive amounts of system resources, and hope that Process Lasso will somehow keep it ...
  • If you are seeing random crashes of the GUI or core engine ...
    Many users of Process Lasso have experimented with various system 'optimization' utilities. Many of these make permanent changes to ...
  • CPU Parking revisited: How to enable or disable CPU Parking yourself without registry edits
    This post has been superceded by this newer, better, and more up to date one.. including a new freeware utility called ParkControl that can ...

Blog Archive

  • ►  2013 (1)
    • ►  March (1)
  • ►  2012 (6)
    • ►  September (1)
    • ►  July (1)
    • ►  June (2)
    • ►  January (2)
  • ►  2011 (166)
    • ►  December (3)
    • ►  November (2)
    • ►  October (2)
    • ►  September (6)
    • ►  August (12)
    • ►  July (14)
    • ►  June (17)
    • ►  May (19)
    • ►  April (13)
    • ►  March (27)
    • ►  February (31)
    • ►  January (20)
  • ►  2010 (203)
    • ►  December (23)
    • ►  November (34)
    • ►  October (38)
    • ►  September (17)
    • ►  August (19)
    • ►  July (19)
    • ►  June (11)
    • ►  May (16)
    • ►  April (8)
    • ►  March (6)
    • ►  February (6)
    • ►  January (6)
  • ▼  2009 (43)
    • ►  December (6)
    • ►  November (1)
    • ►  October (10)
    • ▼  September (3)
      • No more COM
      • Managing specific service groups running under svc...
      • Process Lasso v3.64.3 released
    • ►  August (1)
    • ►  July (9)
    • ►  June (2)
    • ►  May (3)
    • ►  April (4)
    • ►  March (4)
Powered by Blogger.

About Me

Unknown
View my complete profile