digitalmars.D.bugs - [Issue 19498] New: undefined identifier rt_loadLibraryW
- d-bugmail puremagic.com (29/29) Dec 17 2018 https://issues.dlang.org/show_bug.cgi?id=19498
https://issues.dlang.org/show_bug.cgi?id=19498 Issue ID: 19498 Summary: undefined identifier rt_loadLibraryW Product: D Version: D2 Hardware: All OS: Windows Status: NEW Severity: regression Priority: P1 Component: druntime Assignee: nobody puremagic.com Reporter: zan77137 nifty.com Current druntime's master doesn't work well to use Runtime.loadLibrary: ------------------------------------ void main() { import core.runtime; // import\core\runtime.d(250): Error: undefined identifier rt_loadLibraryW, // did you mean function rt_loadLibrary? // Error: template instance `core.runtime.Runtime.loadLibrary!()` // error instantiating auto kernel32 = Runtime.loadLibrary("kernel32.dll"): scope (exit) Runtime.unloadLibrary(kernel32); } ------------------------------------ Probably it is caused by the following commit: https://github.com/dlang/druntime/commit/f4abe84945e75889dea15cd61d6eb27c83e7b56d --
Dec 17 2018