> -Original Message-
> From: Bill Luebkert
> >
> > So, my DEVMODE is a defines as
> >
> > DEVMODE * FAR *mode
> >
> > How does one unpack a double pointer to a struct?
>
> I would assume define it as a ptr:
> my $mode = pack 'P', 0;
>
> And then you would need to do something
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
> -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
Adam R. Frielink wrote:
> I have hit a road block using the Win32-API module. I've gotten a
> working tool which allows me to modify the contents of the Crystal
> Reports RPT file in memory using the API interface. Unfortunately,
> everytime I attempt to access a particular method, my application
I have hit a road block using the Win32-API module. I've gotten a
working tool which allows me to modify the contents of the Crystal
Reports RPT file in memory using the API interface. Unfortunately,
everytime I attempt to access a particular method, my application fails
with a very non-specific