delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/17/11:25:26

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Reply-To: <egf7 AT columbia DOT edu>
From: "Eric Fifer" <egf7 AT columbia DOT edu>
To: "'Louis Bohm'" <lbohm AT lightbridge DOT com>, <cygwin AT cygwin DOT com>
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
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019