• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 445
  • Last Modified:

console app+ indy

Hello, kind of easy question, i was making a console app and i need to add a indy component , how would i load that if there are no forms?
0
KLOPEKS
Asked:
KLOPEKS
1 Solution
 
DeerBearCommented:
Hi,

var MyComp : TIdSMTP;

begin
  MyComp := TIdSMTP.Create( nil );
  // Use MyComp
  MyComp.Free;
end;

HTH,

Andrew
0
 
Otis_04Commented:
damn, i never knew that was possible....
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now