ProcessIt Library Released 1.0 beta

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

Post 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
Last edited by NoahPhense on Sun Sep 19, 2004 8:42 pm, edited 1 time in total.
Wolf
Enthusiast
Enthusiast
Posts: 232
Joined: Sat Apr 03, 2004 12:00 pm
Location: S.T

Post by Wolf »

Thanks NoahPhense :D

Very users need to this lib :wink:
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

..

Post 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 ..
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post 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
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

Post by NoahPhense »

* moderator may remove this post *

- np
Last edited by NoahPhense on Tue Sep 21, 2004 2:14 pm, edited 1 time in total.
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

Post 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
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post 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! :)
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
Bonne_den_kule
Addict
Addict
Posts: 841
Joined: Mon Jun 07, 2004 7:10 pm

Post by Bonne_den_kule »

Your library rules :). Suddenly a "find process library".
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

Post 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
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

GetProcessPath() ???

Anyway it works on Xp..
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

Post 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
PATLOU
User
User
Posts: 12
Joined: Mon Oct 18, 2004 6:24 am

bUG IN pROCESSiT

Post by PATLOU »

iT SEEMS THAT SInce 3.92 version ProcessIt crash the programm.
Can yousee it NoahPhense Please,
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

Re: bUG IN pROCESSiT

Post 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
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post 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.
Post Reply