You need to create your datamodule.
You need a message pump in your console mode application.

--
Contribute to the SSL Effort. Visit
http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
http://www.overbyte.be


----- Original Message ----- 
From: "Yves Palma" <[EMAIL PROTECTED]>
To: <twsocket@elists.org>
Sent: Thursday, April 13, 2006 11:31 AM
Subject: [twsocket] THttpCli in TDatamodule (Console program)


> Hello,
>  
> 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
> THttpCli();
> I get the same error when this line is executed.
>  
>  
> Could someone tell me what I'm doing wrong ?
>  
> Thank you,
> Yves
>  
> (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

Reply via email to