From: Vadim Rozenfeld <vrozenfe@redhat.com>
To: Tomoki Sekiyama <tomoki.sekiyama@hds.com>
Cc: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
"mdroth@linux.vnet.ibm.com" <mdroth@linux.vnet.ibm.com>,
"lcapitulino@redhat.com" <lcapitulino@redhat.com>,
Paolo Bonzini <pbonzini@redhat.com>,
"dle-discus@lists.sourceforge.jp"
<dle-discus@lists.sourceforge.jp>,
Tomoki Sekiyama <tomoki.sekiyama.qu@hitachi.com>
Subject: Re: [Qemu-devel] [RFC PATCH 04/10] qemu-ga: Add Windows VSS provider to quiesce applications on fsfreeze
Date: Wed, 27 Mar 2013 22:29:05 +1100 [thread overview]
Message-ID: <1364383745.2871.4.camel@localhost> (raw)
In-Reply-To: <CD774224.BF6%Tomoki.Sekiyama@hds.com>
On Tue, 2013-03-26 at 16:30 +0000, Tomoki Sekiyama wrote:
> On 3/26/13 4:44 , "Vadim Rozenfeld" <vrozenfe@redhat.com> 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
>
next prev parent reply other threads:[~2013-03-27 11:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20130214061026.15062.54597.stgit@melchior2.sdl.hitachi.co.jp>
[not found] ` <20130214061042.15062.91573.stgit@melchior2.sdl.hitachi.co.jp>
[not found] ` <511CE63D.6050405@redhat.com>
2013-03-25 20:50 ` [Qemu-devel] [RFC PATCH 04/10] qemu-ga: Add Windows VSS provider to quiesce applications on fsfreeze Tomoki Sekiyama
2013-03-26 7:09 ` Paolo Bonzini
2013-03-26 8:44 ` Vadim Rozenfeld
2013-03-26 16:30 ` Tomoki Sekiyama
2013-03-27 11:29 ` Vadim Rozenfeld [this message]
2013-03-27 14:41 ` Tomoki Sekiyama
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1364383745.2871.4.camel@localhost \
--to=vrozenfe@redhat.com \
--cc=dle-discus@lists.sourceforge.jp \
--cc=lcapitulino@redhat.com \
--cc=mdroth@linux.vnet.ibm.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=tomoki.sekiyama.qu@hitachi.com \
--cc=tomoki.sekiyama@hds.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).