Closed Bug 251164 Opened 21 years ago Closed 21 years ago

ShellExecute() from an external app returns an error code although url gets handled successfully

Categories

(Firefox :: Shell Integration, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 246078

People

(Reporter: Alexander, Assigned: bugs)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7) Gecko/20040707 Firefox/0.9.2 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7) Gecko/20040707 Firefox/0.9.2 If Firefox is the standard webbrowser and I use the the code below in an external application then I get a result value of 2, which is an error code according to (1). With IE there is no such problem. result = ShellExecute(NULL, "open", "http://www.google.de", NULL, NULL, 1); (1) http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/functions/shellexecute.asp Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: result == 2 Expected Results: result > 32
This bug is a duplicate of Bug 246078 -> it's just another side effect. When first tried on my system, I got 0x0000002A (== 42) returned. However, I have done a workaround for bug 246078. So I set IE as default, tried again, got 42. Set Firefox back as default, THEN I got 2 returned. Reapplied the workaround, and the function returned 42 again.
*** This bug has been marked as a duplicate of 246078 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.