in reply to Win32-Registry build failure on windows
One simple fix is to open the 'typemap' file that ships with the Win32::Registry source, and insert the following line at the beginning of that file:
Rob
The correct fix is (I think) to apply this patch to Registry.xs:FILETIME ANYTHING_YOU_WANT
Cheers,C:\sisyphusion\Win32-Registry-0.10>diff -u Registry.xs_orig Registry.x +s --- Registry.xs_orig 2012-05-22 19:19:27 +1000 +++ Registry.xs 2012-05-22 19:15:18 +1000 @@ -545,7 +545,7 @@ DWORD idx char *subkey = NO_INIT char *classname = NO_INIT - FILETIME lastwritetime = NO_INIT + SV * lastwritetime = NO_INIT CODE: char keybuffer[TMPBUFSZ]; DWORD keybuffersz = TMPBUFSZ; @@ -775,7 +775,7 @@ DWORD maxvalnamelen = NO_INIT DWORD maxvaldatalen = NO_INIT DWORD secdesclen = NO_INIT - FILETIME lastwritetime = NO_INIT + SV * lastwritetime = NO_INIT CODE: char keyclass[TMPBUFSZ]; FILETIME ft;
Rob
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Win32-Registry build failure on windows
by bulk88 (Priest) on Sep 17, 2012 at 09:01 UTC | |
by syphilis (Archbishop) on Sep 17, 2012 at 09:20 UTC |
In Section
Seekers of Perl Wisdom