Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

IE7 Error Message


  • Please log in to reply
11 replies to this topic
BradleyS
  • Members
  • 220 posts
  • Last active: Mar 05 2016 10:45 PM
  • Joined: 20 Sep 2005
Hi

I have IE7 and everytime it launches the webpage from AHK;
Web:
Run, www.google.co.uk, Max
return

I brings up this error message

HotKeys:AutoHotKey.exe - Entry Point Not Found
The procedure entry point GetProcessImageFileNameW could not be located in the dynamic link library PSAPI.DLL


I have tried this on a computer with IE6 and it works fine

Chris
  • Administrators
  • 10727 posts
  • Last active:
  • Joined: 02 Mar 2004
You could try putting the http in front in case it helps:
Run, http://www.google.co.uk, Max

You could also try passing the full name of the EXE:
Run, IExplore.exe http://www.google.co.uk, Max

Other than that, I'm not sure what can be done about it. Assuming it's a problem internal to IE7, hopefully it will get fixed prior to its final release. In any case, I'll keep an eye out for other solutions.

Thanks.

BradleyS
  • Members
  • 220 posts
  • Last active: Mar 05 2016 10:45 PM
  • Joined: 20 Sep 2005
Hi Chris

This still brought up the same error:

Run, http://www.google.co.uk, Max


This still brought up the error:

Run, IExplore.exe http://www.google.co.uk, Max

But once cleared the web page opened.

However, putting in the exact path, worked fine with no errors;

Run, C:\WINDOWS\ie7\iexplore.exe http://www.google.co.uk, Max
Run, C:\WINDOWS\ie7\iexplore.exe www.google.co.uk, Max



Just thought I'd let you know. :D

Chris
  • Administrators
  • 10727 posts
  • Last active:
  • Joined: 02 Mar 2004
It could be that you have two IExplore.exe's on your PC and that by default, the old/bad one is being used to launch URLs. Hopefully there is some way to purge the old one so that URLs always open in the new IExplorer by default; but I don't know exactly how you'd go about it.

jballi
  • Members
  • 1029 posts
  • Last active:
  • Joined: 01 Oct 2005

This still brought up the error:

Run, IExplore.exe http://www.google.co.uk, Max


Out of curiosity, I turned on the registry monitor to see where the OS was finding IExplorer.exe since IExplore.exe doesn't appear to be in the path but the OS finds it anyway.

Anyway, I found Windows Explorer reading the following registry key when I told it to "run" IExplore.exe:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\IEXPLORE.EXE

You might want to check out this key on your machine. If the default value is pointing to somewhere else besides the IE7 version of IExplore.exe, then this guy is probably causing your problem. And if not, we'll have to keep looking.

Them be my thoughts...

PhiLho
  • Moderators
  • 6850 posts
  • Last active: Jan 02 2012 10:09 PM
  • Joined: 27 Dec 2005
I see the error is related to PSAPI.dll. Does it uses the one distributed with AutoHotkey or the system's one?
Posted Image vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")

BradleyS
  • Members
  • 220 posts
  • Last active: Mar 05 2016 10:45 PM
  • Joined: 20 Sep 2005
Hi

I have checked the system and there is only one refernce to IE7.
IE6 is nowhere to be found.

I checked the register key and it is there exactly as you have written, pointing to C:\Program Files\Internet Explorer\iexplore.exe

With regards to the PSAPI.dll, I seem to have quite a few of them.
One for Windows\System32, One for AutoHotkey and 3 other programs also have there own PSAPI.dll file.

Therefore I loaded IE7 on another computer that doesn't have any of the programs mentioned above and everything worked fine.
So it is unique to my computer.

Thanks anyway!

jballi
  • Members
  • 1029 posts
  • Last active:
  • Joined: 01 Oct 2005

However, putting in the exact path, worked fine with no errors;

Run, C:\WINDOWS\ie7\iexplore.exe http://www.google.co.uk, Max
Run, C:\WINDOWS\ie7\iexplore.exe www.google.co.uk, Max


I checked the register key and it is there exactly as you have written, pointing to C:\Program Files\Internet Explorer\iexplore.exe

I'm a little confused. Exactly where is IE7 stored on your PC? Is is in the standard location or is it in the "IE7" folder like in your example. If it is in a "IE7" folder, you might want to "try" to change the registry value so it points to real location. I have no idea whether it will help or hurt but what the hey...

BTW, if the default value is incorrect, you'll need to change Path value (same key) as well.

Them be my thoughts...

BradleyS
  • Members
  • 220 posts
  • Last active: Mar 05 2016 10:45 PM
  • Joined: 20 Sep 2005
Hi

It's in both locations

C:\Program Files\Internet Explorer
C:\WINDOWS\ie7\iexplore.exe

However, I know everything works on other computers, which is fine with me. I just have to get around to restoring my system at some point, as over time you tend to collect a lot of rubbish. That can cause problems like this.

Regards,

Bradley

mrclox
  • Members
  • 29 posts
  • Last active: Sep 07 2007 06:10 PM
  • Joined: 12 Nov 2006
for the record i am having in the same problem with 2 comps in my house

SKAN
  • Administrators
  • 9115 posts
  • Last active:
  • Joined: 26 Dec 2005
Oh My! The solution is this: http://www.autohotke... ... 1576#91576

:)

Edit by moderator: This issue has been fixed in v1.0.46 by removing the psapi.dll file except on Windows NT4.
kWo4Lk1.png

Visioneer
  • Members
  • 287 posts
  • Last active: Sep 17 2017 10:07 PM
  • Joined: 19 Nov 2007
How do I include psapi.dll in a distribution for all OS,
w98, xp, Vista, 7 AND ALSO NT4

I don't find psapi.dll in my W98 or XP, AutoHotkey folders
except for a very old backup copy.

Do I get it somewhere? For NT4

Are they all the same ? I see one in my XP 's system32 folder
I see several others on my W98 and XP in other folders.
Some even have different byte sizes.

If I include it in the same folder as my compiled exe script,
and it is running in OS other than NT4, could it make trouble?

Suppose I wanted to check for it's exist-ance on NT4, and
copy it into my compiled scripts folder, if it did not exist,
how would I search for it on NT4?

Thanks