The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: skywalker on January 11, 2007, 08:29:32 PM

Title: Work under XP
Post by: skywalker on January 11, 2007, 08:29:32 PM
I would like some help in getting this to work under XP.
I am getting ERROR_ACCESS_DENIED.

Thanks.

[attachment deleted by admin]
Title: Re: Work under XP
Post by: GregL on January 12, 2007, 07:09:04 PM
skywalker,

I'm running XP SP2 and I got it to work. I wasn't getting the ERROR_ACCESS_DENIED but the program didn't work. I don't have Netscape so I used Firefox instead. Try changing

ProcessNameToSearchFor  BYTE "C:\PROGRAM FILES\NETSCAPE\NETSCAPE\Netscp.EXE", 0

to

ProcessNameToSearchFor  BYTE "NETSCP.EXE", 0  ; Note the upper case

After changing that it worked for me. If there is nothing on the command-line it will bring up Explorer.

Thanks for the morning puzzle.  :bg



Title: Re: Work under XP
Post by: skywalker on January 12, 2007, 11:35:26 PM
Thanks. Glad it was a simple fix.