Marc-André Lureau schreef op vr 25-01-2013 om 22:29 [+0100]: > Hi, > > Using mingw32-gcc-4.7.2-2.fc18.x86_64 & > mingw32-crt-2.0.999-0.15.trunk.20121110.fc18.noarch > > I am wondering against which library I should be linking, -lsetupapi > doesn't seem to have the symbol: > > undefined reference to `_imp__SetupUninstallOEMInfW@12' > > Thanks for your help! >
Hi Marc-André, I just did a quick grep through the mingw-w64 source code and it looks like the symbol in question is only available on the win64 target: $ grep -Hr SetupUninstallOEMInf * mingw-w64-crt/lib64/setupapi.def:SetupUninstallOEMInfA mingw-w64-crt/lib64/setupapi.def:SetupUninstallOEMInfW mingw-w64-headers/include/setupapi.h:#define SetupUninstallOEMInf __MINGW_NAME_AW(SetupUninstallOEMInf) mingw-w64-headers/include/setupapi.h: WINSETUPAPI WINBOOL WINAPI SetupUninstallOEMInfA(PCSTR InfFileName,DWORD Flags,PVOID Reserved); mingw-w64-headers/include/setupapi.h: WINSETUPAPI WINBOOL WINAPI SetupUninstallOEMInfW(PCWSTR InfFileName,DWORD Flags,PVOID Reserved); Can somebody of the mingw-w64 devs indicate whether this is intended? Regards, Erik van Pienbroek ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public