digitalmars.D.bugs - [Issue 8235] New: IsUserAnAdmin not in shell32.lib
- d-bugmail puremagic.com (34/35) Jun 13 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8235
- d-bugmail puremagic.com (12/12) Jul 03 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8235
- d-bugmail puremagic.com (12/12) Dec 26 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8235
http://d.puremagic.com/issues/show_bug.cgi?id=8235 Summary: IsUserAnAdmin not in shell32.lib Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: Optlink AssignedTo: nobody puremagic.com ReportedBy: stefan.sonnenberg pythonmeister.com 2012-06-13 11:48:43 PDT --- Given this code snippet: 8-< import std.c.stdio; import std.c.windows.windows; extern (Windows) BOOL IsUserAnAdmin(); int main(string[] args) { return IsUserAnAdmin(); }-8and compiling it with dmd test.d shell32.lib OPTLINK (R) for Win32 Release 8.00.12 Copyright (C) Digital Mars 1989-2010 All rights reserved. http://www.digitalmars.com/ctg/optlink.html test.obj(test) Error 42: Symbol Undefined _IsUserAnAdmin 0 --- errorlevel 1 IsUserAdmin is exported by shell32.dll and so this might be a bug ? Bug reproducable on Windows Vista 32 Bit, DMD32 D Compiler v2.059 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 13 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8235 yebblies <yebblies gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yebblies gmail.com This usually happens because the lib included with dmd is out of date. It can be worked around by generating a new import lib from the dll (using implib) or by using LoadLibrary/GetProcAddress manually. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 03 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8235 Andrej Mitrovic <andrej.mitrovich gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |andrej.mitrovich gmail.com Resolution| |DUPLICATE 15:39:15 PST --- *** This issue has been marked as a duplicate of issue 6625 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 26 2012