This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
RE: Getting Perl to run win32 commands
- To: "'Louis Bohm'" <lbohm at lightbridge dot com>, <cygwin at cygwin dot com>
- Subject: RE: Getting Perl to run win32 commands
- From: "Eric Fifer" <egf7 at columbia dot edu>
- Date: Wed, 17 Jan 2001 16:23:42 -0000
- Reply-To: <egf7 at columbia dot edu>
>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