Getting Perl to run win32 commands

Eric Fifer egf7@columbia.edu
Wed Jan 17 08:24:00 GMT 2001


>I am trying to get perl to run win32 commands and 
>it is not working well.

I assume you mean call Win32 API/SDK functions.
>Before I go any further will it be possible to get 
>this running on cygwin? Will I be able to do 
>things like NetAdmin::GetUsers and other NT user 
>base things?

It should work, you can call most of the Win32 API
from Cygwin. I have found the main issues with
porting Win32 specific Perl modules are compiler
differences (MSVC, Borland v. gcc) and differing
usage of preprocessor #defines (the native Perl
Win32 port uses WIN32, cygwin uses __CYGWIN__,
access to win32isms however may be needed either
via _WIN32 or something similar).
Regards,
Eric Fifer
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /