Difference between Win32::API and Win32::OLE.

2005-06-06 Thread J aperlh
Difference between Win32::API and Win32::OLE. As I know, Win32::API can import and call functions from Win32's Dynamic Link Libraries (DLL), I was wondering if it can import and call functions from standalone executables, just like Win32:OLE does. I tried Win32::OLE to call serveral funtions in

A question about Win32::OLE. Really need you help!!!

2005-06-05 Thread J aperlh
A question about Win32::OLE. Really need you help!!! There is a standalone executable written in C/C++. What I am going to do is to write a perl script to call several functions available in this executable. From the following article, I thought the job is very easy. #10 - Win32::OLE

Re: Argument passing between perl and C function.

2005-06-02 Thread J aperlh
? I know that if the OLE controller is in C language, things will be easier, Passing the first element of the array to this function is ok. On 6/2/05, Offer Kaye [EMAIL PROTECTED] wrote: On 6/2/05, J aperlh wrote: Argument passing between perl and a C function. [...snip...] my $ret

Re: Argument passing between perl and C function.

2005-06-02 Thread J aperlh
to this function is ok On 6/2/05, $Bill Luebkert [EMAIL PROTECTED] wrote: J aperlh wrote: Argument passing between perl and a C function. There is C function in a OLE server: What kind of variable should I pass to this function

It seems that Win32::OLE::Variant doesn't work!

2005-06-01 Thread J aperlh
It seems that Win32::OLE::Variant doesn't work! Below is the script: #! perl -W use strict; use Win32::OLE; use Win32::OLE::Variant; my $Array = Variant(VT_ARRAY|VT_R8, [1,2], 2); $Array-Put([[1,2], [3,4]]); Below

Re: It seems that Win32::OLE::Variant doesn't work!

2005-06-01 Thread J aperlh
Thanks for you guys help. $Bill Luebkert [EMAIL PROTECTED] found that is a typo of the document: ActivePerl User Guide. Win32::OLE::NEWS - What's new in Win32::OLE The VARIANT-Put(ARRAYREF) form allows assignment to a complete SAFEARRAY This allows automatic conversion from a list of lists to a

Argument passing between perl and C function.

2005-06-01 Thread J aperlh
Argument passing between perl and a C function. There is C function in a OLE server: What kind of variable should I pass to this function? # BOOL Calculate(BSTR* names, double* values, short number_of_names); I tried the

Re: A question about Win32:OLE!

2005-05-31 Thread J aperlh
with that particular ProgID. Steven -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of J aperlh Sent: Sunday, May 29, 2005 7:09 PM To: perl-win32-users@listserv.ActiveState.com Subject: A question about Win32:OLE! A question about Win32:OLE! Where

A question about Win32:OLE!

2005-05-29 Thread J aperlh
A question about Win32:OLE! Where can I get the program ID of an application? Get it from OLE/COM Object Viewer or something else? my $app = Win32::OLE-new('Word.Application', 'Quit'); ___ Perl-Win32-Users mailing list