Re: [win32-gui] [perl-win32-gui-hackers] Problems building under Mingw

2006-04-20 Thread Robert May
Fix committed. Typo in a variable type definition (LPCTSTR vs LPTSTR) Rob. Jeremy White wrote: 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* , DWO

Re: [perl-win32-gui-hackers] Creating a new Win32-GUI class

2006-04-20 Thread Robert May
Jeremy White wrote: > Robert May wrote: How about something like this: - The 'userdata' member of the (internal) stored data always holds a hash. The UserData method stores the passed SV in the 'UserData' member of that hash. The 'Data' method stores the passed SV in the hash with a key equal

RE: [perl-win32-gui-hackers] Problems building under Mingw

2006-04-20 Thread Jeremy White
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" <

Re: [perl-win32-gui-hackers] Re: Unicode support (and Win32::GUI::DropFiles progress)

2006-04-20 Thread Jeremy White
With Vista just round the corner and native 64bit soon to be a requirement... Eggzactly! Poor planning on MS's part, isn't an emergency on my clients' part. Or Rob's. In this case, the poor planning, is that people really don't need all the new features in new operating systems... they'd re

[perl-win32-gui-hackers] Problems building under Mingw

2006-04-20 Thread Jeremy White
GUI.xs: In function `void XS_Win32__GUI_GetDllVersion(PerlInterpreter*, CV*)': GUI.xs:5591: warning: converting of negative value `-0x1' to `DWORD' GUI.xs:5592: warning: converting of negative value `-0x1' to `DWORD' GUI.xs:5593: warning: converting of negative value `-0x1

Re: [win32gui] [perl-win32-gui-hackers] Creating a new Win32-GUI class

2006-04-20 Thread Jeremy White
How about something like this: - The 'userdata' member of the (internal) stored data always holds a hash. The UserData method stores the passed SV in the 'UserData' member of that hash. The 'Data' method stores the passed SV in the hash with a key equal to the current classname (obtained from

RE: [perl-win32-gui-hackers] Re: Unicode support (and Win32::GUI::DropFiles progress)

2006-04-20 Thread Jeremy White
(3) Drop support for Win95/98/ME - I don't want to do this yet. I'd rather not drop support for Win9x yet either. Still have clients using it... I'm still using it, and I don't want to have to pay MS to upgrade yet (althoug a new PC is on the horizon). With Vista just round the corner and