> -----Original Message-----
> From: Sisyphus  

> Afaik a function declared as void would not return.

it won't return a value, but it still has to go back to the caller.
 
> Anyway, if it's that simple to do in C then it's also very 
> simple to achieve in perl, using Inline::C. 

thats interesting, and would be useful for large C programs

but i've already compiled the C into a standalone executable, and
can call the .EXE as a system call from perl.

i mean yeah, it works, but what i want to do is avoid C altogether.

for aesthetic purposes.  

its basically one line of C code:  "outp(<IOPort>,<byte>)", and
certainly
not worth the module overhead

can't perl do this?

Rob



> 
>
> 
> But you'll need a compiler for that to work - preferably 
> MSVC++ 6.0 if you're running ActiveState perl, though the 
> free command line version of
> MSVC++ 7.1 (.NET 2003 .... or whatever it is) that's available from
> Microsoft will probably serve just as well.
> 
> With ActiveState perl, a third alternative is to install 
> nmake or dmake, and the MinGW (gcc) compiler, along with 
> ExtUtils::FakeConfig. (All of those are freely available.)
> 
> Cheers,
> Rob
> 

_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to