This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Getting Perl to run win32 commands



>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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]