Re: How to simulate VB Casting for $perl_objects via Win32::OLE?

2009-12-18 Thread Jenda Krynicky
Date sent: Thu, 17 Dec 2009 12:36:27 -0600 Subject:Re: How to simulate VB Casting for $perl_objects via Win32::OLE? From: w...@serensoft.com w...@serensoft.com To: Jenda Krynicky je...@krynicky.cz Copies to: perl-win32-users@listserv.activestate.com That looks like

Re: How to simulate VB Casting for $perl_objects via Win32::OLE?

2009-12-17 Thread Jenda Krynicky
Subject:How to simulate VB Casting for $perl_objects via Win32::OLE? Short version: how can we simulate .NET/VB object-type CASTing, in Win32::OLE Perl? Long version: We're building a bridge between a java-web-app and a .net-based-desktop app. Perl is the glue language of choice,

Re: How to simulate VB Casting for $perl_objects via Win32::OLE?

2009-12-17 Thread w...@serensoft.com
That looks like a utility to take an existing perl program and convert it to a .NET-savvy executable: http://docs.activestate.com/pdk/8.1/ = click PerlNET link If that's the case, it won't resolve our issue. If it's not the case, we misunderstood. :) On Thu, Dec 17, 2009 at 10:58 AM, Jenda

RE: How to simulate VB Casting for $perl_objects via Win32::OLE?

2009-12-16 Thread Jan Dubois
Win32::OLE uses late binding (the IDispatch interface, aka OLE Automation); there is no such thing as casting to different objects as there is only a single IDispatch interface per object. This is the same as using Jscript or VBScript, but not VB or C++ which normally use early binding. It