Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
How to remove the main form or how to create an object in console app?
[b][red]This message was edited by bogdanul2003 at 2004-5-9 1:25:36[/red][/b][hr]
is it possibel to make an delphi appl wich first has a form and then remove the form.I want to do this becouse my application doesn't need a main form(the exe file of a simple appl whith only one form ocupies about 351 kb).If i remove the main form i'll still need to be abel to use unit's like IdComponent,IdTCPConnection,IdTCPClient,tlhelp32,psapi, ScktComp
Can this be done ?
If not the pls tell me how to cteate a new component in a console application.For eg:ClientSocket1:TClientSocket;
What must the create() param because when i try ClientSocket1.create(self); it passes this error:[Error] Project2.dpr(18): Undeclared identifier: 'self'
So can somebody tell me how to create a component in console appl ?