BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

WebService Calls and Wine / Linux

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi WebServices SOAP
View previous topic :: View next topic  
Author Message
Lincoln
Guest





PostPosted: Mon May 07, 2007 6:03 pm    Post subject: WebService Calls and Wine / Linux Reply with quote



Hi!

I have a very special problem, may be it is off-topic this group.

I am "porting" a large application compiled with BDS2006 to Linux by
using Wine (I would prefer Kylix, but ...). At least, it works much
better then I expected (GUI, ..), but WebService calls don't work at all.

I use an HTTPRio for connecting to my web server. Using log statements I
discovered that

(MyHTTPRio as IMyINtf).DoSomething;

causes an exception in Wine. Exception handler in my application reports
"OLE Error 80070078". No idea what it is. Of course on Windows XP / 2000
this works fine.

I tried to replace some DLL's (msxml4.dll,...) from Wine with real
Windows DLL's from my Windows XP SP2 installation as described in Wine
documentation, but it does not help. Has anybody an idea or even tried
the same?

Thank you for any help!
Lincoln
Back to top
Graham Harris
Guest





PostPosted: Mon May 07, 2007 8:46 pm    Post subject: Re: WebService Calls and Wine / Linux Reply with quote



Hello Lincoln,

OLE Error means that there is a problem with COM. In this case it means that
COM is not installed. This is due to the fact that COM is Windows Specific.
You might try and search the net for a Linux implementation of COM, which
I think, is installed with Firefox.

Graham Harris

Quote:
Hi!

I have a very special problem, may be it is off-topic this group.

I am "porting" a large application compiled with BDS2006 to Linux by
using Wine (I would prefer Kylix, but ...). At least, it works much
better then I expected (GUI, ..), but WebService calls don't work at
all.

I use an HTTPRio for connecting to my web server. Using log statements
I discovered that

(MyHTTPRio as IMyINtf).DoSomething;

causes an exception in Wine. Exception handler in my application
reports "OLE Error 80070078". No idea what it is. Of course on Windows
XP / 2000 this works fine.

I tried to replace some DLL's (msxml4.dll,...) from Wine with real
Windows DLL's from my Windows XP SP2 installation as described in Wine
documentation, but it does not help. Has anybody an idea or even
tried the same?

Thank you for any help!
Lincoln
Back to top
DanKegel
Guest





PostPosted: Tue May 08, 2007 6:48 pm    Post subject: Re: WebService Calls and Wine / Linux Reply with quote



On May 7, 6:03 am, Lincoln <linc...@web.de> wrote:
Quote:
I am "porting" a large application compiled with BDS2006 to Linux by
using Wine (I would prefer Kylix, but ...). At least, it works much
better then I expected (GUI, ..), but WebService calls don't work at all.

I use an HTTPRio for connecting to my web server. Using log statements I
discovered that

(MyHTTPRio as IMyINtf).DoSomething;

causes an exception in Wine. Exception handler in my application reports
"OLE Error 80070078". No idea what it is. Of course on Windows XP / 2000
this works fine.

I tried to replace some DLL's (msxml4.dll,...) from Wine with real
Windows DLL's from my Windows XP SP2 installation as described in Wine
documentation, but it does not help.

The guy who said "install COM" was halfway right. Wine does have
a good implementation of COM, but it's still incomplete.
You can help us complete it by boiling down your problem
to the smallest possible test program, and submitting the
source and binary to http://bugs.winehq.org.

In the meantime, the magic incantation to try Microsoft's COM instead
of Wine's
is
wget http://kegel.com/wine/winetricks
sh winetricks dcom98
If that helps, then you know the problem is a bug in Wine's COM, and
we would absolutely love to see you post a bug with a minimal
test case so we can fix it.
You should not depend on dcom98 remaining available; Microsoft will
probably stop providing it for download at the end of the year or so.
Thus submitting the test case now to winehq.org is very much in
your best interests...
- Dan
Back to top
Lincoln
Guest





PostPosted: Wed May 09, 2007 1:19 pm    Post subject: Re: WebService Calls and Wine / Linux Reply with quote

Dan,

thank you for help. Installing DCOM98 with you wintricks script worked
but our software stell end with OLE Error. Number has changed to "OLE
Error 80004001".

I will now try to write an minimal example as you asked for.

Is there any other option in winetricks that might help?

Lincoln



DanKegel schrieb:
Quote:
On May 7, 6:03 am, Lincoln <linc...@web.de> wrote:
I am "porting" a large application compiled with BDS2006 to Linux by
using Wine (I would prefer Kylix, but ...). At least, it works much
better then I expected (GUI, ..), but WebService calls don't work at all.

I use an HTTPRio for connecting to my web server. Using log statements I
discovered that

(MyHTTPRio as IMyINtf).DoSomething;

causes an exception in Wine. Exception handler in my application reports
"OLE Error 80070078". No idea what it is. Of course on Windows XP / 2000
this works fine.

I tried to replace some DLL's (msxml4.dll,...) from Wine with real
Windows DLL's from my Windows XP SP2 installation as described in Wine
documentation, but it does not help.

The guy who said "install COM" was halfway right. Wine does have
a good implementation of COM, but it's still incomplete.
You can help us complete it by boiling down your problem
to the smallest possible test program, and submitting the
source and binary to http://bugs.winehq.org.

In the meantime, the magic incantation to try Microsoft's COM instead
of Wine's
is
wget http://kegel.com/wine/winetricks
sh winetricks dcom98
If that helps, then you know the problem is a bug in Wine's COM, and
we would absolutely love to see you post a bug with a minimal
test case so we can fix it.
You should not depend on dcom98 remaining available; Microsoft will
probably stop providing it for download at the end of the year or so.
Thus submitting the test case now to winehq.org is very much in
your best interests...
- Dan
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi WebServices SOAP All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.