A software supplier has data packed into a set of files whos format is unpublished. In order to access this data a set of .DLL files with an example VB program is provided. This seems a reasonable way to do things: here's an arbitary data format that I may change so access it with this API whose interface I'll keep constant for you. It just isn't cross platform.

Alas I know little to nothing about Win32 programming or VB, though reading the example sub declarations does leave me with a decent understanding of the input and output.

I need to be able to access some of the data in these data files on *nix, specfically Linux. The app that needs this data is in perl. Is there a way from perl on a non Win32 system that I can use the API in the DLLs?

I've done some searching and reading and found the Win32::API which looks like the right tool for the job maybe? But I gather this only works on Win32 perl since I don't seem to be able to install it on a linux system?

Are there any option available to me or am I stuck on Win32?


In reply to Can I use Win32 DLLs on *nix perl? by drewhead

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.