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 v3.65.3 beta released
    I've released the first new beta that is 100% UNICODE. I've regression tested almost all the software, though there may still be som...
  • Process Lasso v5.0.0.28
    This build continues maintenance, fixing several items and also making a nice improvement to the graph's display. Further, the last sele...
  • v5.0.0.18: Fix auto updater in XP
    During testing a few hours ago I noticed the auto-update was failing in some XP installations. Specifically, it would appear to stall at the...
  • BETA: Vista startup configuration
    Ok, I've got this fully correct now I think. In some cases in previous builds you could end up with both registry and Task Scheduler sta...
  • Process Lasso v5.0.0.48
    Changes: [.48]Change.GUI: Do not show 'Activate Now' menu item after activation [.48]Change.GUI: Adjusted logging thread CPU and I/O...
  • v5.0.0.17 final - Minor fixes
    This build fixes a reported issue with the watchdog rules (re: not default affinities, priorities, power schemes, but rather the terminate/r...
  • v5.0.0.21: Fix failure of web links within Process Lasso on some systems
    I've had reports of sporadic failure of the web links within Process Lasso. I've analyzed this situation for a while today and found...
  • One bit of bad news, one bit of good news
    One disappointing thing is that I've decided to cancel the change history shown in the update dialog, at least for v4.1. I may add it in...
  • 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...

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