On Wed, May 16, 2012 at 6:44 AM, Joshua Boyce
<[email protected]> wrote:
>
> I didn't mean that an additional import library was required, simply that
> the correct import lib needs to be linked in as normal (just like you do
> when using windows.h). For functions exported by kernel32 this
> happens automatically, for other modules (user32, advapi32, etc) I believe
> they must be specified manually. Is this not true? (I'm genuinely
> interested, as I thought it was true last time I checked, but it may have
> just been a configuration error on my end.)

Assuming you use GCC/G++ for the linker command user32 and advapi32
are added as libraries.  To see the list of libraries added use -v and
you will see the full linker command parameters as passed to it by
GCC.

-- 
Earnie
-- https://sites.google.com/site/earnieboyd

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to