I'm a somewhat newbie to Perl, but I have been using
ActiveState a while and have progressed to downloading and installing a few packages from CPAN. I thought I was doing well, until I banged my head into Win32::OLE, which appears to have some C++ code in it that must be compiled.
The Module tutorial on Perl Monks (A Practical Guide to Compiling C based Modules under ActiveState using Microsoft C++) says "Get Visual C++ .NET"
I guess that's the only answer. But I really don't want to give $85 to Microsoft. I downloaded the free Visual C++ Toolkit 2003 instead.
I almost get there with it. It has the cl.exe compiler, and nmake, etc. It has many of the header files. I can almost compile the module. But I keep running into files like ocidl.h that don't exist in the free version.
I notice these files seem to exist in non-Microsoft places, such as Wine and Borland. But the ones I looked at don't seem to be quite the right thing. I get compile errors. .. Lots .. of .. errors.
So my question to anyone familiar with Win32::OLE under Windows, is there any way to get the package installed without buying the .NET package?? Do all these many include files exist online somewhere?
Or, is there somewhere that a pre-compiled binary version of Win32 that I can just drop into the appropriate directories and skip the compile step?
Am I overlooking something obvious?
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.