joago has asked for the wisdom of the Perl Monks concerning the following question:
hi --> I seek 4 days for my problem --> please help
I have CortalConsors.TradingAPI.dll and CortalConsors.TradingAPI.tlb and the doc for all objects inside.
I want made code in perl
I have example in .VB like
Imports System Imports CortalConsors.TradingAPI.DE Imports CortalConsors.TradingAPI.ValueObjects.DE Module TradingAPIClient Sub Main() Try ' Create the session facade Dim sf As New SessionFacade ' Login sf.LoginWithAddOnName("OrderAddVb") .......
I have also example in C++.COM , C++.NET and c# .
If I write:
my $sf=Win32::OLE->new('CortalConsors.TradingAPI.DE.SessionFacade'); print $!; print Win32::OLE->LastError();
then I have: Win32::OLE(0.1711) error 0x80040154: "Klasse nicht registriert"
If I do : regsvr32 CortalConsors.TradingAPI.dll
then I have : Das Modul CortalConsors.TradingAPI.dll wurde geladen aber der dllRegister-Server Eingangspunkt wurde nicht gefunden
In which manner can I use the .dll in perl ?????
--> I try WIN32::OLE and WIN32::API and have no success !!!!!In OLE/COM Object Explorer I see:
Thank you (sorry for my english)Name: CortalConsors.TradingAPI.DE.SessionFacade GUID: {C30D1F5C-0F97-4A05-BACA-885D135975B8} ---------------------------------------------------------------------- +---------- CLSID {C30D1F5C-0F97-4A05-BACA-885D135975B8} = Implemented Categories = {62C8FE65-4EBB-45E7-B440-6E39B2CDBF29} = InprocServer32 = InprocServer32[RuntimeVersion] = InprocServer32[ThreadingModel] = InprocServer32[CodeBase] = InprocServer32[Assembly] = InprocServer32[Class] = 1.1.1.0 = 1.1.1.0[Assembly] = 1.1.1.0[RuntimeVersion] = 1.1.1.0[CodeBase] = 1.1.1.0[Class] = ProgId =
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: DLL or VB to Perl
by silent11 (Vicar) on Jun 06, 2014 at 15:41 UTC | |
by joago (Initiate) on Jun 06, 2014 at 17:34 UTC | |
Re: DLL or VB to Perl
by xiaoyafeng (Deacon) on Jun 11, 2014 at 02:45 UTC | |
by joago (Initiate) on Jun 16, 2014 at 08:52 UTC | |
by Anonymous Monk on Jun 16, 2014 at 19:33 UTC | |
by joago (Initiate) on Jun 18, 2014 at 07:37 UTC | |
by Anonymous Monk on Jun 18, 2014 at 08:10 UTC |
Back to
Seekers of Perl Wisdom