Hi, This msxml bug requires the TYPELIB resource to be added. http://bugs.winehq.org/show_bug.cgi?id=11257 I modified the followng file as follows. Makefile.in IDL_TLB_SRCS = msxml3_v1.idl msxml3_v1.idl (new File, with a single line) #include "msxml2.idl" version.rc 1 TYPELIB LOADONCALL DISCARDABLE msxml3_v1.tlb The issue I am seing is the msxml3_v1.tlb is not being created. Output. ../../tools/widl/widl -I. -I. -I../../include -I../../include -I/usr/include/libxml2 -I/usr/include/libxml2 -D__WINESRC__ -DCOM_NO_WINDOWS_H -t -T msxml3_v1.tlb msxml3_v1.idl ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include -I/usr/include/libxml2 -I/usr/include/libxml2 -D__WINESRC__ -DCOM_NO_WINDOWS_H -foversion.res version.rc version.rc:26:47: Error: Cannot open file msxml3_v1.tlb Any ideas on what is wrong? Best Regards Alistair Leslie-Hughes
Alistair Leslie-Hughes wrote:
Hi,
This msxml bug requires the TYPELIB resource to be added. http://bugs.winehq.org/show_bug.cgi?id=11257
I modified the followng file as follows.
Makefile.in IDL_TLB_SRCS = msxml3_v1.idl
msxml3_v1.idl (new File, with a single line) #include "msxml2.idl"
version.rc 1 TYPELIB LOADONCALL DISCARDABLE msxml3_v1.tlb
The issue I am seing is the msxml3_v1.tlb is not being created.
Output. ../../tools/widl/widl -I. -I. -I../../include -I../../include -I/usr/include/libxml2 -I/usr/include/libxml2 -D__WINESRC__ -DCOM_NO_WINDOWS_H -t -T msxml3_v1.tlb msxml3_v1.idl ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include -I/usr/include/libxml2 -I/usr/include/libxml2 -D__WINESRC__ -DCOM_NO_WINDOWS_H -foversion.res version.rc version.rc:26:47: Error: Cannot open file msxml3_v1.tlb
Any ideas on what is wrong?
Either you didn't remake the Makefile by running make from the toplevel dir or the dependencies weren't picked up, in which case a "make depend" should fix things. -- Rob Shearman
Either you didn't remake the Makefile by running make from the toplevel dir or the dependencies weren't picked up, in which case a "make depend" should fix things.
Hi Rob, When I modify an Makefile.in, I always run; configure && make depend from the root before trying to compile. The think ths issue is that widl isnt making the .tlb file when run. Also when I run the widl command from a prompt, no .tlb file is created. I can generate a patch if that would help debugging. Best Regards Alistair Leslie-Hughes
On Wed, Jan 23, 2008 at 09:45:26PM +1100, Alistair Leslie-Hughes wrote:
The think ths issue is that widl isnt making the .tlb file when run. Also when I run the widl command from a prompt, no .tlb file is created.
msxml2.idl doesn't contain any library definitions. widl won't generate a typelib unless there is a library defined.
"Dan Hipschman" <dsh(a)linux.ucla.edu> wrote in message news:20080123190213.GB4960(a)linux.ucla.edu...
On Wed, Jan 23, 2008 at 09:45:26PM +1100, Alistair Leslie-Hughes wrote:
The think ths issue is that widl isnt making the .tlb file when run. Also when I run the widl command from a prompt, no .tlb file is created.
msxml2.idl doesn't contain any library definitions. widl won't generate a typelib unless there is a library defined.
Dan, Spot on. Now it at least compiles. Thanks Best Reagrds Alistair Leslie-Hughes
participants (3)
-
Alistair Leslie-Hughes -
Dan Hipschman -
Robert Shearman