How to handle output from localized versions of Windows

2007-05-30 Thread Tevfik Karagülle
Hi all, I have a program which picks up standard windows group names (administrators, users ...) and performing some filesystem security operations. I use Win32::NetAdmin and Win32::Security modules for that purpose. It works well for languages like english, german, frensh and so on. However, tro

Re: Win32-API aborting mid-application

2007-05-30 Thread Bill Luebkert
Adam R. Frielink wrote: > >> >>my $mode = pack 'C148', 0 x 180; # I padded 32 just in case I meant that 148 to also be 180 for safety (in case the actual structure was longer - usually you would supply a size arg in a structure that is returned as the only in/out arg, but apparently not her

RE: Win32-API aborting mid-application

2007-05-30 Thread Adam R. Frielink
> -Original Message- > From: Bill Luebkert > > Adam R. Frielink wrote: > > > > The particular section of code in which the error occurs is: > > > > ___CODE___ > > my $PEGetSelectedPrinter = new Win32::API 'crpe32', > > 'PEGetSelectedPrinter', 'IlPlPlPP', 'I'; > > if (not defined $PEGe