⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 internet.cpp

📁 BCB编写的使用SMTP、POP3和FTP的例子
💻 CPP
字号:
//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
USERES("Internet.res");
USEFORM("Internet_c.cpp", MailForm);
USEFORM("Ftp_c.cpp", FtpForm);
USEFORM("Pop3_c.cpp", Pop3Form);
USEFORM("Smtp_c.cpp", SmtpForm);
USEFORM("..\Net\NNtp\NNtp_c.cpp", NNtpForm);
//---------------------------------------------------------------------------
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
{
        try
        {
                 Application->Initialize();
                 Application->HelpFile = "Internet.hlp";
                 Application->CreateForm(__classid(TMailForm), &MailForm);
                 Application->CreateForm(__classid(TFtpForm), &FtpForm);
                 Application->CreateForm(__classid(TPop3Form), &Pop3Form);
                 Application->CreateForm(__classid(TSmtpForm), &SmtpForm);
                 Application->CreateForm(__classid(TNNtpForm), &NNtpForm);
                 Application->Run();
        }
        catch (Exception &exception)
        {
                 Application->ShowException(&exception);
        }
        return 0;
}
//---------------------------------------------------------------------------

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -