This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
GetFileVersionInfoSize
- From: suityou01 <suityou01 at yahoo dot co dot uk>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 4 Feb 2009 08:22:42 -0800 (PST)
- Subject: GetFileVersionInfoSize
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.