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:

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 =
Thank you (sorry for my english)

In reply to DLL or VB to Perl by joago

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.