You are here

FindProc not finding process

9 posts / 0 new
Last post
dagardner
dagardner's picture
Offline
Last seen: 5 years 5 months ago
Developer
Joined: 2007-09-20 14:41
FindProc not finding process

Has anyone ever had a problem with FindProc not finding a running process?

I'm searching for a process called Game.exe, but it can't find it. However, if I open up Task Manager, I can see the process. I've had it work just fine with other apps I've created, but now it's not.

Thanks

OliverK
OliverK's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2007-03-27 15:21
I saw a post from prapper I

I saw a post from prapper I believe about this subject. I've never had a problem with it easier. Could it be case sensitive?

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

dagardner
dagardner's picture
Offline
Last seen: 5 years 5 months ago
Developer
Joined: 2007-09-20 14:41
I thought that too

I thought that it might be case sensitive too, but when I look at the process list it says Game.exe, which is what I'm looking for. I've also tried game.exe, but that didn't work either.

computerfreaker
computerfreaker's picture
Offline
Last seen: 13 years 3 months ago
Developer
Joined: 2009-08-11 11:24
How are you calling it?

How are you calling it? Maybe your call is screwed up or something like that.

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

dagardner
dagardner's picture
Offline
Last seen: 5 years 5 months ago
Developer
Joined: 2007-09-20 14:41
Copy, paste, modify

Here is what I'm doing now:

   CheckRunning:
      Sleep 1000
      FindProcDLL::FindProc "Game.exe" 
      StrCmp $R0 "1" CheckRunning

It used to be:

      CheckRunning:
            Sleep 1000
            FindProcDLL::FindProc "$APPEXE"                  
            StrCmp $R0 "1" CheckRunning

but for some reason the program's launch executable launches another program then closes.

OliverK
OliverK's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2007-03-27 15:21
seems right to me . . .

seems right to me . . .

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

computerfreaker
computerfreaker's picture
Offline
Last seen: 13 years 3 months ago
Developer
Joined: 2009-08-11 11:24
Ditto, looks good to me

Ditto, looks good to me too...

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

dagardner
dagardner's picture
Offline
Last seen: 5 years 5 months ago
Developer
Joined: 2007-09-20 14:41
Hmm

I found this thread over on the Winamp forum:

http://forums.winamp.com/showthread.php?postid=2278516

It mentions something about a size optimized version not working correctly. I redownloaded the DLL from:

http://nsis.sourceforge.net/FindProcDLL_plug-in

and I will try it out later. I hope it works.

dagardner
dagardner's picture
Offline
Last seen: 5 years 5 months ago
Developer
Joined: 2007-09-20 14:41
Nope

That didn't fix it. Still looking.

Log in or register to post comments