Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Reply-To: From: "Eric Fifer" To: "'Louis Bohm'" , Subject: RE: Getting Perl to run win32 commands Date: Wed, 17 Jan 2001 16:23:42 -0000 Message-ID: <000201c080a1$e1195e40$1f3770c2@fifer> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 In-Reply-To: <3A65AC8B.3070003@lightbridge.com> >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