Problem solved.
I called the wrong function starting the HTTP server and so
TMyHTTPConnection was not allocated to clientclass.
thanks
Stefan
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http
Hello Stefan,
In most events of Thttpserver you have Sender and Client arguments.
Sender is the server, client is the HttpConnection. So probabley you
want to do:
ClientCnx := Client as TMyHTTPConnection;
---
Rgds, Wilfried [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
http://www.me
> What is the exact exception message. I guess you didn't respect the class
> hierarchy. You must derive your class from THTTPConnection as
> TMyHTTPConnection does in the demo. You also has to assign you class to
> THttpServer.ClientClass.
Well the TMyHTTPConnection is derived form THTTPConnecti
overbyte.be
- Original Message -
From: "Stefan Blankenagel" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, May 02, 2006 12:32 PM
Subject: [twsocket] Problem with HTTP-server
> Hi,
>
> I am programming a http server with the ics components. I took the
> example w
Hi,
I am programming a http server with the ics components. I took the
example webserver for my software. I want to use templates with tables
and there is a function formdatagetrow. I also implemented this into my
software but every time if I call the webpage I get an exception
EInvalidCast. T