From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:59053) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKoXs-0004wJ-Bj for qemu-devel@nongnu.org; Wed, 27 Mar 2013 07:29:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UKoXr-0000qJ-3G for qemu-devel@nongnu.org; Wed, 27 Mar 2013 07:29:32 -0400 Received: from mx1.redhat.com ([209.132.183.28]:26796) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKoXq-0000pw-Rg for qemu-devel@nongnu.org; Wed, 27 Mar 2013 07:29:31 -0400 Message-ID: <1364383745.2871.4.camel@localhost> From: Vadim Rozenfeld Date: Wed, 27 Mar 2013 22:29:05 +1100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC PATCH 04/10] qemu-ga: Add Windows VSS provider to quiesce applications on fsfreeze List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Tomoki Sekiyama Cc: "qemu-devel@nongnu.org" , "mdroth@linux.vnet.ibm.com" , "lcapitulino@redhat.com" , Paolo Bonzini , "dle-discus@lists.sourceforge.jp" , Tomoki Sekiyama On Tue, 2013-03-26 at 16:30 +0000, Tomoki Sekiyama wrote: > On 3/26/13 4:44 , "Vadim Rozenfeld" wrote: > > >On Tue, 2013-03-26 at 08:09 +0100, Paolo Bonzini wrote: > >> Il 25/03/2013 21:50, Tomoki Sekiyama ha scritto: > >>> Unfortunately, if I remove importlib("stdole2.tlb"), generated .tlb > >>>seems > >> > rejected to register into Windows COM+ Catalog. > >> > > >> > Wine has stdole2.tlb in its fakedlls directory, but widl does not > >>accept > >> > this by > >> > > >> > error: Wrong or unsupported typelib magic 405a4d > >> > > >> > Even if I copied native stdole2.tlb, widl fails with the same error. > >> > > >> > Do you have any idea about this error? > > > >Seems like your tlb has nonstandard identifying characters. Check first > >several bytes of the tlb file. Usually it should be something like '4D > >53 46 54', or '4D 5A 90' > > I found '4D 53 46 54' at offset 0x300 of stdole2.tlb. > Wine's stdole2.tlb also have the signature at offset 0x738. > I rechecked stdole2.tlb provided by MS. All three versions (arm, x86, and x64) begin with 'MSFT' (4D 53 46 54) and have 00 00 00 00 at offset 0x300 > (might have an additional header before the main part?) > > Widl accepted the wine's stdole2.tlb when I removed the header, > but still, the generated qga-provider.tlb was not accepted by Windows...:( > > >> > >> No, I suggest you ask on the Wine mailing lists. In the meanwhile we > >> can include a precompiled .tlb file in the QEMU repository and use midl. > >> > >> Paolo > > I will take this way so far. > > Thanks, > > Tomoki Sekiyama >