Closed
Bug 522360
Opened 15 years ago
Closed 15 years ago
[js-ctypes] Support opening of DLLs without full path using the system PATH
Categories
(Core :: js-ctypes, enhancement)
Core
js-ctypes
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
status1.9.2 | --- | beta2-fixed |
People
(Reporter: daniel, Assigned: m_kato)
Details
Attachments
(1 file)
3.21 KB,
patch
|
dwitte
:
review+
benjamin
:
approval1.9.2+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.3a1pre) Gecko/20091014 Minefield/3.7a1pre Build Identifier: Most languages support linking to a DLL by just defining the DLL name. The DLL must then be in the system PATH (or in the same path of the executable). Something similar should be supported for js-ctypes as well. At least the system PATH. Reproducible: Always
Assignee | ||
Comment 1•15 years ago
|
||
the search rule of loading DLL in Windows. http://support.microsoft.com/kb/164501/
Version: unspecified → Trunk
Comment 2•15 years ago
|
||
Does PR_LoadLibrary follow any of the platform-specific search rules (via the OS hooks it uses)? Or do we have to implement it all ourselves?
Assignee | ||
Comment 3•15 years ago
|
||
(In reply to comment #2) > Does PR_LoadLibrary follow any of the platform-specific search rules (via the > OS hooks it uses)? Or do we have to implement it all ourselves? Dan, I believe that InitWithPath returns error at first.
Assignee | ||
Comment 4•15 years ago
|
||
confirmed on Linux x86 and Windows x86. Maybe, I think that we should use LoadLibraryWithFlags instead of nsILocalFile::Load() since InitWithPath() returns error.
Assignee: nobody → m_kato
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Hardware: x86 → All
Assignee | ||
Comment 5•15 years ago
|
||
Updated•15 years ago
|
Attachment #406662 -
Flags: review+
Comment 6•15 years ago
|
||
Comment on attachment 406662 [details] [diff] [review] patch v1 Wonderful. r=me! Does this pass tryserver on all platforms?
Assignee | ||
Comment 7•15 years ago
|
||
(In reply to comment #6) > (From update of attachment 406662 [details] [diff] [review]) > Wonderful. r=me! Does this pass tryserver on all platforms? Yes.
Assignee | ||
Comment 8•15 years ago
|
||
landed http://hg.mozilla.org/mozilla-central/rev/e00dfdccc270
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•15 years ago
|
Attachment #406662 -
Flags: approval1.9.2?
Reporter | ||
Comment 9•15 years ago
|
||
Dan, Makoto, thanks again for your great and really fast work. Nice job!
Updated•15 years ago
|
Attachment #406662 -
Flags: approval1.9.2? → approval1.9.2+
Assignee | ||
Comment 10•15 years ago
|
||
landed to 1.9.2 http://hg.mozilla.org/releases/mozilla-1.9.2/rev/37ae16d4083e
status1.9.2:
--- → final-fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•