Ok,

Doing:

size = GetFileVersionInfoSize((char*)filename, &handle);

and:

if(GetFileVersionInfo((char*)filename, handle, size, data)) {

"Fixes" the errors, the resulting binary runs fine as does NotifyIcon.pl - why the error - no idea - as a guess the mingw headers.


From: "Jeremy White" <[EMAIL PROTECTED]>
To: perl-win32-gui-hackers@lists.sourceforge.net
Subject: [perl-win32-gui-hackers] Problems building under Mingw
Date: Thu, 20 Apr 2006 07:35:26 +0000

GUI.xs: In function `void XS_Win32__GUI_GetDllVersion(PerlInterpreter*, CV*)': GUI.xs:5591: warning: converting of negative value `-0x000000001' to `DWORD' GUI.xs:5592: warning: converting of negative value `-0x000000001' to `DWORD' GUI.xs:5593: warning: converting of negative value `-0x000000001' to `DWORD'
GUI.xs:5625: error: invalid conversion from `const TCHAR*' to `CHAR*'
GUI.xs:5625: error: initializing argument 1 of `DWORD GetFileVersionInfoSizeA(
CHAR*, DWORD*)'
GUI.xs:5629: error: invalid conversion from `const TCHAR*' to `CHAR*'
GUI.xs:5629: error: initializing argument 1 of `BOOL GetFileVersionInfoA(CHAR*
, DWORD, DWORD, void*)'

I'll have a play and see if I can track it down.

Cheers,

jez.




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Perl-Win32-GUI-Hackers mailing list
Perl-Win32-GUI-Hackers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-hackers
http://perl-win32-gui.sourceforge.net/



Reply via email to