in reply to Re: [SOLVED] Dereferencing a pointer returned from Win32::API with unpack 'p'
in thread [SOLVED] Dereferencing a pointer returned from Win32::API with unpack 'p'

I would vastly prefer this to any alternative which obliged my Perl source-code to be dependent(!) upon such niggling details as, “exactly how many bytes wide is pchar * on this platform, today?”

huh, you have to use typedefs in C just as you would in Perl. Avoiding them is what would cause the problems you describe.

  • Comment on Re^2: [SOLVED] Dereferencing a pointer returned from Win32::API with unpack 'p'