delphi package - easy access to kernel objects etc.


Postby wallygator » Sat May 09, 2009 2:48 pm

I am totally new to these mad tools so forgive me.

I am on windows XP sp3
I have delphi 2009.
I downloaded the latest madcollection.
I recomplied and installed the components.
I added this code to my project

Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, AdvSmoothDock,shellapi, AdvSmoothButton, StdCtrls, Spin, jpeg, ExtCtrls, Menus, ExtDlgs,madkernel;

MessageBox(0, pchar('we have ' + IntToStr(TrayIcons.ItemCount) + ' tray icons'), 'info', 0);

If I run outside the IDE I get zero icons

If I run inside the IDE I get an exception 'Could no load module for this target'

if I continue on past the exceptions I still get zero icons, I currently have 8 in the tray

What am I doing wrong? :confused:
Posts: 1
Joined: Sat May 09, 2009 2:09 pm
Location: Overbrook,Ks

Postby iconic » Tue May 12, 2009 8:39 am

Works fine for me here on XP SP3 with Delphi 7... TrayIcons.ItemCount returns the correct number of "visible" trayicons. Perhaps it's a Delphi 2009 issue with madKernel? Madshi might have to help you with this one since I don't have D2009.

Site Admin
Posts: 877
Joined: Wed Jun 08, 2005 5:08 am

Return to madKernel

Who is online

Users browsing this forum: No registered users and 3 guests