You need to create your datamodule.
You need a message pump in your console mode application.
Contribute to the SSL Effort. Visit
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
----- Original Message -----
From: "Yves Palma" <[EMAIL PROTECTED]>
Sent: Thursday, April 13, 2006 11:31 AM
Subject: [twsocket] THttpCli in TDatamodule (Console program)
> I try to use THttpCli component with a console program (without Forms,
> I have added an TDataModule to my project and put the THttpCli on it.
> But when I run my program, I get an EAccesViolation message in
> rtl100.bpl module.
> If I don't put the component on my DataModule, but I do : htp=new
> I get the same error when this line is executed.
> Could someone tell me what I'm doing wrong ?
> Thank you,
> (When I use THttpcli on a TForm project, it runs ok)
> (I have C++Builder2006 with feb2006 version of ICS)
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be