Page 2 of 3

Posted: Sun Sep 19, 2004 7:45 pm
by NoahPhense
thefool wrote:@dare2: hehe u should see our msn logs :D

well another request?
ok since u ask me so nicely to find a request, let me think...

well since the lib now spits out the process id from name (wich is the hardest part), everything can be done more easly.
But since pb compiler includes needed procedures only, many procedures wont hurt, and will just be easier to use. So another request is :

GetProcessFileName(processname.s)

hehe


but anyway its a nice lib.

Umm, ok.. here's the new lib.. haven't gotten
around to the help file or the installer... blah blah..

See original post at TOP..

GetProcessFilename() -- has been added ..

- np

Posted: Sun Sep 19, 2004 8:39 pm
by Wolf
Thanks NoahPhense :D

Very users need to this lib :wink:

..

Posted: Sun Sep 19, 2004 8:45 pm
by NoahPhense
Wolf wrote:Thanks NoahPhense :D

Very users need to this lib :wink:
You're welcome.

I know I needed it. Can be VERY handy for dealing
with locked services & programs that don't want to
play nicely.

- np

* EDIT *

Just incase people forgot, there is an example pb file included.. you will
find it off the PureBasic\Examples\ProcessIt\ directory ..

Posted: Sun Sep 19, 2004 9:42 pm
by thefool
hi!

thanks :)

no i will let you rest before i find more requests :twisted:

its good. 'gNight.. :D


EDIT:
after some tests: I wanted it to return PATH and filename :P

Posted: Sun Sep 19, 2004 11:11 pm
by NoahPhense
* moderator may remove this post *

- np

Posted: Mon Sep 20, 2004 12:44 pm
by thefool

Posted: Mon Sep 20, 2004 1:58 pm
by NoahPhense
@thefool

Ok, I got it.. better thank Rings for that one.. There is one catch to
being able to do this.. the system needs to have psapi.dll on it..

As well, I'll try to make it as SAFE as possible. Because with this
ability in the library. A person can take down your operating system
VERY quickly.

I'll be back later today to report on progress.

- np

Posted: Mon Sep 20, 2004 2:05 pm
by PB
> there is no normal way to get full path from a running process

What about Freak's ExeFromHwnd code?

viewtopic.php?t=12149

If you can get the window handle from the process, then bingo! :)

Posted: Mon Sep 20, 2004 7:30 pm
by Bonne_den_kule
Your library rules :). Suddenly a "find process library".

Posted: Tue Sep 21, 2004 5:08 am
by NoahPhense
Bonne_den_kule wrote:Your library rules :). Suddenly a "find process library".
Thanks Bonne. More to come.. I'm in the process of moving, so some
delay might occur. But I have NT4 SP6a installed now. So I will be able
to test my lib on NT4 and 2000, all you guys have to do is test it on XP
for me.

Oh, I got the GetFullPathOfProcess() working.. not sure if thats what I'm
going to call it.. give me some ideas. ;)

- np

Posted: Tue Sep 21, 2004 7:59 am
by thefool
GetProcessPath() ???

Anyway it works on Xp..

Posted: Tue Sep 21, 2004 1:10 pm
by NoahPhense
thefool wrote:GetProcessPath() ???

Anyway it works on Xp..
So, so far, everything that is listed in the current help file works on XP?

I'm testing the 2000 and NT side.

- np

bUG IN pROCESSiT

Posted: Mon Oct 18, 2004 6:28 am
by PATLOU
iT SEEMS THAT SInce 3.92 version ProcessIt crash the programm.
Can yousee it NoahPhense Please,

Re: bUG IN pROCESSiT

Posted: Mon Oct 18, 2004 9:00 pm
by NoahPhense
PATLOU wrote:iT SEEMS THAT SInce 3.92 version ProcessIt crash the programm.
Can yousee it NoahPhense Please,
Thanks.. probably a small modification. I'll get to it soon.

- np

Posted: Mon Oct 18, 2004 9:07 pm
by Shannara
I wouldn't worry about that just yet. Usually in betas, there are broken things in there that will not be fixed until the final version. Thus, it may not be your library at all that is causing the problem, but a bug in PB beta. If that is the case, and you "fix" your library to work with 3.92 beta, then the final comes out, you may have to unfix your library in order to get it working again :)

Thus, I find it better not to ever mess nor support betas and wait until the final version.