Thanks for your help. Here is an update:
MakeMaker (ActiveState 5.8.0) hates spaces where perl.exe's path is concerned or I am to stupid to figure out a way to fix its problem with "C:\Program Files\perl".
Uninstalled perl. Re-installed in "C:\perl" and got a little farther.

While linking I got unresolved references.
Tried coping msvcrt.lib & conio.h everywhere. No luck. I found 'libpth' in Config.pm and 'libpath' in Makefile but changes there didn't work. There is more with the libs but the answer was:
In the XS code above I needed '_inp' not 'inp' (and the same for the rest). My fault for not mentioning I'm on a Windows 2000 machine. :(

Now I just have to figure out the way around NT complaining with STAUS_PRIVILEGED_INSTRUCTION when I use outp. :| Ugh.

Does anyone know how to get it to work in kernel mode instead of user? That should probably be a new question.


In reply to Re: Re: Poke peek & inp outp equivalents by PinkEater
in thread Poke peek & inp outp equivalents by PinkEater

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.