[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 TWSock

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

Re: [twsocket] HttpsCli in service application

2008-10-18 Thread Paul
ginal Message - From: "Angus Robertson - Magenta Systems Ltd" <[EMAIL PROTECTED]> To: 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 serv

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 jus

Re: [twsocket] HttpsCli in service application

2008-10-18 Thread Paul
- Original Message - From: "Arno Garrels" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Saturday, October 18, 2008 6:54 PM Subject: Re: [twsocket] HttpsCli in service application > Paul wrote: >> This is the service execute : >> >> procedure

Re: [twsocket] HttpsCli in service application

2008-10-18 Thread Arno Garrels
roperly. Hard to tell what might be wrong? -- Arno Garrels > > Paul > > > - Original Message - > From: "Arno Garrels" <[EMAIL PROTECTED]> > To: "ICS support mailing" > Sent: Saturday, October 18, 2008 5:07 PM > Subjec

Re: [twsocket] HttpsCli in service application

2008-10-18 Thread Paul
uot; 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 >> >>> Maybe messages are not proces

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

Re: [twsocket] HttpsCli in service application

2008-10-18 Thread Arno Garrels
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 TService.OnExecute a

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
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

[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 tim