AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

IE7 Error Message

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
BradleyS



Joined: 20 Sep 2005
Posts: 96

PostPosted: Sun Sep 10, 2006 9:30 pm    Post subject: IE7 Error Message Reply with quote

Hi

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


I brings up this error message
Quote:
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
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10465

PostPosted: Mon Sep 11, 2006 12:35 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Send e-mail
BradleyS



Joined: 20 Sep 2005
Posts: 96

PostPosted: Mon Sep 11, 2006 6:21 pm    Post subject: Reply with quote

Hi Chris

This still brought up the same error:
Quote:
Run, http://www.google.co.uk, Max


This still brought up the error:
Quote:
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;
Quote:
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. Very Happy
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10465

PostPosted: Tue Sep 12, 2006 1:50 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Send e-mail
jballi



Joined: 01 Oct 2005
Posts: 313
Location: Texas, USA

PostPosted: Tue Sep 12, 2006 2:19 am    Post subject: Reply with quote

BradleyS wrote:

This still brought up the error:
Quote:
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:

Code:
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...
Back to top
View user's profile Send private message
PhiLho



Joined: 27 Dec 2005
Posts: 6721
Location: France (near Paris)

PostPosted: Tue Sep 12, 2006 9:19 am    Post subject: Reply with quote

I see the error is related to PSAPI.dll. Does it uses the one distributed with AutoHotkey or the system's one?
_________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")
Back to top
View user's profile Send private message Visit poster's website
BradleyS



Joined: 20 Sep 2005
Posts: 96

PostPosted: Tue Sep 12, 2006 7:23 pm    Post subject: Reply with quote

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!
Back to top
View user's profile Send private message
jballi



Joined: 01 Oct 2005
Posts: 313
Location: Texas, USA

PostPosted: Tue Sep 12, 2006 8:38 pm    Post subject: Reply with quote

BradleyS wrote:
However, putting in the exact path, worked fine with no errors;
Quote:
Run, C:\WINDOWS\ie7\iexplore.exe http://www.google.co.uk, Max
Run, C:\WINDOWS\ie7\iexplore.exe www.google.co.uk, Max


BradleyS wrote:
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...
Back to top
View user's profile Send private message
BradleyS



Joined: 20 Sep 2005
Posts: 96

PostPosted: Tue Sep 12, 2006 11:17 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
mrclox



Joined: 12 Nov 2006
Posts: 29

PostPosted: Thu Nov 30, 2006 8:21 am    Post subject: Reply with quote

for the record i am having in the same problem with 2 comps in my house
Back to top
View user's profile Send private message
SKAN



Joined: 26 Dec 2005
Posts: 5594

PostPosted: Thu Nov 30, 2006 8:47 am    Post subject: Reply with quote

Oh My! The solution is this: http://www.autohotkey.com/forum/viewtopic.php?p=91576#91576

Smile

Edit by moderator: This issue has been fixed in v1.0.46 by removing the psapi.dll file except on Windows NT4.
_________________
SKAN - Suresh Kumar A N
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group