Page 1 of 1

not working: process commandline, trayicons.hint

PostPosted: Fri Feb 29, 2008 11:18 am
by brian
Hello Madshi,

This is my first time posting here, hoping to get a clue what I'm doing wrong. You probably don't remember me but we shared some topics back in the days when EE was fresh (I was most active there in 98-99-00 as bryan7)

I am using Vista 32-bit and Delphi 2007.

2 Problems:

1- I'm trying to get the commandline of a process, but all I get is the exe path+exename, of any process.


this simple returns "C:\Program Files\VideoLAN\VLC\vlc.exe", whereas using ProcessExplorer (from sysinternals) i gets the commandline arguments (filename that was loaded)

2- Same with TrayIcon.Hint


this is empty, and checking ItemCount returns 0 (with ANY process)

Maybe it's problem with Vista?


PostPosted: Mon Mar 03, 2008 1:08 pm
by madshi

oh the old EE days... ;)

Does the Process Explorer show this information with or without being started as admin? Does your own process have admin rights? You could try enabling all privileges. That might help...

PostPosted: Tue Mar 11, 2008 4:15 am
by brian
Process Explorer shows either with or without admin privs. (I usually run it as admin with /e)

Tried running the test as admin but it didn't help (for either tests commandline/tray icons)