[twsocket] HttpsCli in service application - solved

2008-10-19 Thread Paul
Somewhere in my client class, I forgat to add a conditional compile. It was a call to get the active session ID which needed to load WtsApi32.dll (for normal program mode) Appearently, this disturbed the message loop. All runs fine now. Paul -- To unsubscribe or change your settings for

[twsocket] HttpsCli in service application

2008-10-18 Thread Paul
Hi, I have a service application with a HtppsCli which has ran fine connecting to a server. Now, I need the HttpsCli connecting to another webservice first. Connecting to this new webservices runs fine, but when the HttpsCli connects to another webservice afterwards, it goes wrong: The first

Re: [twsocket] HttpsCli in service application

2008-10-18 Thread Arno Garrels
Paul wrote: I have a service application with a HtppsCli which has ran fine connecting to a server. Now, I need the HttpsCli connecting to another webservice first. Connecting to this new webservices runs fine, but when the HttpsCli connects to another webservice afterwards, it goes wrong:

Re: [twsocket] HttpsCli in service application

2008-10-18 Thread Paul
Where to you create your class? in ServiceStart Async or sync methods? Async Maybe messages are not processed properly. Are there more threads beside main thread and service thread? It's directlly in the service thread (with message loop) What ICS version do you use? It's still V5 Paul --

Re: [twsocket] HttpsCli in service application

2008-10-18 Thread Arno Garrels
Arno Garrels wrote: Paul wrote: Where to you create your class? in ServiceStart Async or sync methods? Async Maybe messages are not processed properly. Are there more threads beside main thread and service thread? It's directlly in the service thread (with message loop) Is

Re: [twsocket] HttpsCli in service application

2008-10-18 Thread Paul
5:07 PM Subject: Re: [twsocket] HttpsCli in service application Paul wrote: Where to you create your class? in ServiceStart Async or sync methods? Async Maybe messages are not processed properly. Are there more threads beside main thread and service thread? It's directlly

Re: [twsocket] HttpsCli in service application

2008-10-18 Thread Arno Garrels
Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Saturday, October 18, 2008 5:07 PM Subject: Re: [twsocket] HttpsCli in service application Paul wrote: Where to you create your class? in ServiceStart Async or sync methods? Async

Re: [twsocket] HttpsCli in service application

2008-10-18 Thread Paul
Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Saturday, October 18, 2008 6:54 PM Subject: Re: [twsocket] HttpsCli in service application Paul wrote: This is the service execute : procedure TRpUaClnt.DDServiceExecute(Sender: TDDService

Re: [twsocket] HttpsCli in service application

2008-10-18 Thread Angus Robertson - Magenta Systems Ltd
I have a service application with a HtppsCli which has ran fine connecting to a server. Debugging service applications is a pain. Experience has shown there are two ideal way to write service applications with Delphi. 1 - Write a normal windows executable, with a minimal GUI, I usually just

Re: [twsocket] HttpsCli in service application

2008-10-18 Thread Paul
- From: Angus Robertson - Magenta Systems Ltd [EMAIL PROTECTED] To: twsocket@elists.org Sent: Saturday, October 18, 2008 8:08 PM Subject: Re: [twsocket] HttpsCli in service application I have a service application with a HtppsCli which has ran fine connecting to a server. Debugging service

Re: [twsocket] HttpsCli in service application

2008-10-18 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote: 2 - Use the SvCom service environment, which allows you to create a application that may be run as either a GUI or service. http://www.aldyn-software.com/svcom.html I've used this for one new application, and it works nicely, although I had to