sorry wrong list :-) -----Original Message----- From: Rogers, John Sent: Wednesday, 20 April 2005 4:56 PM To: Perl-Win32-Gui-Users (E-mail) Subject: [perl-win32-gui-users] Win32-API and ghostscript API
hi, I want to access the ghostscript API for the gsdll32.dll. been trying this any which way cant make it work, I must be doing some thing wrong any Ideas ? ########### use strict; use Win32::API; Win32::API::Struct->typedef( REVINFO => qw{ CHAR *product; CHAR *copyright; LONG revision; LONG revisiondate; }); my $rev = Win32::API::Struct->new('REVINFO'); Win32::API->new('C:\gs\gs8.15\bin\gsdll32.dll','gsapi_revision','CCNN',V) or die "no-worky $! $^E"; print $rev->{revision}; ################### Regards, John Rogers System Engineer Océ-Australia Limited Telephone: (07) 3212.8127 Facsimile: (07) 3312 8101 Mobile: 0404 812 903 Email: [EMAIL PROTECTED] www.oce.com.au ************************************************************* Disclaimer If this e-mail has been sent to you in error, please notify Océ-Australia Limited immediately and delete this e-mail from your system. Any views expressed in this e-mail are those of the individual sender and may not necessarily reflect the views of Océ-Australia Limited. ************************************************************* Disclaimer If this e-mail has been sent to you in error, please notify Océ-Australia Limited immediately and delete this e-mail from your system. Any views expressed in this e-mail are those of the individual sender and may not necessarily reflect the views of Océ-Australia Limited.