delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-3.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE |
X-Spam-Check-By: | sourceware.org |
X-Received: | by 10.50.160.201 with SMTP id xm9mr9353942igb.101.1363587980739; Sun, 17 Mar 2013 23:26:20 -0700 (PDT) |
MIME-Version: | 1.0 |
From: | Edward Peschko <horos11 AT gmail DOT com> |
Date: | Sun, 17 Mar 2013 23:26:00 -0700 |
Message-ID: | <CAH+_n-5pucx9OyqyLu4ZN99Z-cFjYgYiP4ZSbiXGHmD9QmeQiw@mail.gmail.com> |
Subject: | Re: problems with COM running native win32 applications through cygwin's bash |
To: | cygwin AT cygwin DOT com |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
>> All, >> We are having difficulties running various windows utilities through >> bash. Through a regular windows cmd, one can run commands like >> diskshadow without issue, but with bash, we are having problems with >> COM calls not working. We have posted an example below. > I'd recommend reporting this to MS if you haven't already. While > there may be something in Cygwin that needs tweaking for this, it > would be best if MS could diagnose what is failing and why. That > would make any Cygwin fix happen quicker. Larry, After further analysis, it looks like the reason diskshadow is failing is because it requires a fully-fledged 64 bit running environment to execute COM calls. As a workaround (and for whomever runs into this same issue and needs a fix) we have downloaded ActiveState's 64 bit native perl, and are doing: perl -e "system('cmd')"; to get a native 64 bit environment, which allows the COM calls to happen for diskshadow. I'm assuming that there isn't a 64 bit cygwin port? I would think that would solve lots of issues - the number of native 32 bit installations is dropping rapidly, and I think that going forward issues like the above will become more and more common. Ed -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |