X-Recipient: archive-cygwin@delorie.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@gmail.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@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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@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

