delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/03/15/09:07:58

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.1 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.42.24.10 with SMTP id u10mr3728147icb.30.1363320455526; Thu, 14 Mar 2013 21:07:35 -0700 (PDT)
MIME-Version: 1.0
From: Edward Peschko <horos11 AT gmail DOT com>
Date: Thu, 14 Mar 2013 21:07:15 -0700
Message-ID: <CAH+_n-40rRWHzcZ-0YWb2oD9vKQHXFVqgFr_nOXfDVmwmgDaEA@mail.gmail.com>
Subject: 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.

Is there a good bug tracking system where we could report this and/or
track this? And - does anyone have a decent workaround?

Thanks much for any info,

Ed

Example below:

-----
    Microsoft Windows [Version 6.1.7600]
    Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

    C:\Users\Administrator> diskshadow
    Microsoft DiskShadow version 1.0
    Copyright (C) 2007 Microsoft Corporation
    On computer:  MAIN-CS182,  3/14/2013 9:00:40 PM


    DISKSHADOW> list shadows all

    Querying all shadow copies on the computer ...
    No shadow copies found in system.
----


However, through bash, one gets output like:

----

    Administrator AT chief-cs43 ~
    $ diskshadow

    Microsoft DiskShadow version 1.0
    Copyright (C) 2007 Microsoft Corporation
    On computer:  CHIEF-CS43,  3/15/2013 4:54:24 AM

    DISKSHADOW> list shadows all

    Querying all shadow copies on the computer ...

    COM call "(*vssObject)->InitializeForBackup" failed.

    The last operation failed.
        - Returned HRESULT: 80042302
        - Error text: VSS_E_UNEXPECTED

DISKSHADOW>
----

--
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

- Raw text -


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