GetFileVersionInfoSize

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I need to call the GetFileVersionInfoSize api from a C application. The
above API is defined in Windows.h which is included and I also have to
include the Version.lib. I have included both and yet when I compile I get a
linker error

"C:\Users\Admin\AppData\Local\Temp/cc6uH1bk.o:util.c:(.text+0x6e): undefined
refe
rence to `GetFileVersionInfoSizeA@8'
collect2: ld returned 1 exit status"

Which looks like its not picking up the lib.

Can anyone give some tips on how to successfully include windows libs and
reference apis?

Thanks in advance.
-- 
View this message in context: http://www.nabble.com/GetFileVersionInfoSize-tp21833885p21833885.html
Sent from the gcc - Help mailing list archive at Nabble.com.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux