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: nob...@puremagic.com ReportedBy: stefan.sonnenb...@pythonmeister.com --- Comment #0 from Stefan Sonnenberg <stefan.sonnenb...@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(); } >-8 and 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: -------