www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 3565] New: rdmd --man doesn't work on Windows

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3565

           Summary: rdmd --man doesn't work on Windows
           Product: D
           Version: 2.036
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: wbaxter gmail.com


--- Comment #0 from Bill Baxter <wbaxter gmail.com> 2009-12-02 06:55:25 PST ---
The --man flag to open a man page in the browser doesn't work at all.

You can open a url in the default browser with this magic code:

import std.c.windows.windows;
extern(Windows) {
  HINSTANCE ShellExecuteW(HWND,const LPWSTR, const LPWSTR, const
LPWSTR, const LPWSTR,INT);
}

void main()
{
   HINSTANCE hr = ShellExecuteW(null, "open"w.ptr,
"http://www.digitalmars.com/d"w.ptr, null, null, SW_SHOWNORMAL);

}

Info about the hr return value can be found here for adding more info on
failure:
http://msdn.microsoft.com/en-us/library/bb762153%28VS.85%29.aspx

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Dec 02 2009
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3565


Andrei Alexandrescu <andrei metalanguage.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |andrei metalanguage.com
         AssignedTo|nobody puremagic.com        |andrei metalanguage.com


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 08 2011
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3565


Andrei Alexandrescu <andrei metalanguage.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|andrei metalanguage.com     |nobody puremagic.com


--- Comment #1 from Andrei Alexandrescu <andrei metalanguage.com> 2011-06-05
16:21:04 PDT ---
Putting this issue up for grabs. Has it been fixed yet?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 05 2011