Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - exception
Search - exception - List
This PNG Delphi version 1.56 documentation (this version is a major rewrite intended to replace the previous version, 1.2). Improvements in this new version includes: This new version allows the programmer to not use Delphi heavy units which will greatly reduce the size of the final executable. Read more about this feature here. Most, if not all, Portable Network Graphics features as CRC checking are now fully performed. Error on broken images are now better handled using new exception classes. The images may be saved using interlaced mode also. Transparency information won t be discarted after the image is loaded any more. Most of the images are decoded much faster now. The images will be better encoded using fresh new algorithms. IMPORTANT! Now transparency information is used to display images. -Delphi version 1.56 documentat ion (this version is a major rewrite intended to replace the previous version. 1.2). Improvements in this version include new s : This new version allows the programmer to not us e Delphi heavy units which will greatly reduce t he size of the final executable. Read more about this feature here. Most, if not all, Portable Network Graphics features as CRC Checkout king are now fully performed. Error on broken im ages are now better handled using new exception classes. The images may be saved using interlac ed mode also. Transparency information won t be discarted after the image is loaded any more. Mo st of the images are decoded much faster now. The better images will be encoded using fresh new al gorithms. IMPORTANT! Now transparency inform ation is used to d
Date : 2008-10-13 Size : 285.54kb User : Han Xun

一个异常类示例程序-an abnormal type sample program
Date : 2008-10-13 Size : 175.18kb User :

unit UnitSendMail;

interface

uses
  Windows, SysUtils, Classes,StdCtrls, ExtCtrls, ComCtrls, Dialogs,
  IdMessage, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient,
  IdExplicitTLSClientServerBase,IdMessageClient, IdSMTPBase, IdSMTP, IdText,
  IDAttachmentFile;

function SendEMail(SenderName, SenderAddress: PChar;
    Receivename, ReceiveAddress: PChar; MailSubject, MailContent: PChar;
    JpgFileName: PChar; SendType: Integer; PicID: PChar; IsCustom: Boolean;Attachment:PChar): Boolean; stdcall;
function ConnectMailServer(Host, UserName, Password: PChar;
    Port: Integer): Boolean; stdcall;
procedure DisconnectMail; stdcall;

type
  TSendMailObj = class
  private
    FHost: String;
    FPort: Integer;
    FUserName: String;
    FPassword: String;
    ASmtp: TIdSMTP;
  public
    property Host: string read FHost write FHost;
    property Port: Integer read FPort write FPort;
    property UserName: String read FUserName write FUserName;
    property Password: String read FPassword write FPassword;
    constructor Create;
    function ConnectServer: Boolean;
    function SendEMail(SenderName, SenderAddress: PChar;
      Receivename, ReceiveAddress: PChar; MailSubject, MailContent: PChar;
      JpgFileName: PChar; SendType: Integer; PicID: PChar;
      IsCustom: Boolean;Attachment:PChar): Boolean;
  end;

var
  SendObj: TSendMailObj;

implementation

function SendEMail(SenderName, SenderAddress: PChar;
    Receivename, ReceiveAddress: PChar; MailSubject, MailContent: PChar;
    JpgFileName: PChar; SendType: Integer; PicID: PChar; IsCustom: Boolean;Attachment:PChar): Boolean; stdcall;
begin
  Result :=  SendObj.SendEMail(SenderName, SenderAddress, Receivename,
          ReceiveAddress, MailSubject, MailContent,
            JpgFileName, SendType, PicID, IsCustom,Attachment);
end;

function ConnectMailServer(Host, UserName, Password: PChar;
    Port: Integer): Boolean; stdcall;
begin
  try
    //if SendObj = nil then
    SendObj := TSendMailObj.Create;
{    if SendObj.ASmtp.Connected then
      SendObj.ASmtp.Disconnect;  }
    SendObj.Host := StrPas(Host);
    SendObj.Port := Port;
    SendObj.Username := StrPas(UserName);
    SendObj.Password := StrPas(Password);
    Result := SendObj.ConnectServer;
  except
    Result := False;
  end;
end;

procedure DisconnectMail; stdcall;
begin
  if SendObj <> nil then
  begin
    if SendObj.ASmtp <> nil then
      SendObj.ASmtp.Disconnect;
    SendObj := nil;
    SendObj.Free;
  end;
end;
{ TSendMailObj }

function TSendMailObj.ConnectServer: Boolean;
begin
  ASmtp.Host := FHost;
  ASmtp.Port := FPort;
  ASmtp.Username := FUserName;
  ASmtp.Password := FPassword;
  try
    ASmtp.Connect;
    Result := ASmtp.Connected;
  except
    Result := False;
  end;
end;

constructor TSendMailObj.Create;
begin
  ASmtp := TIdSMTP.Create(nil);

end;

function TSendMailObj.SendEMail(SenderName, SenderAddress, Receivename,
  ReceiveAddress, MailSubject, MailContent, JpgFileName: PChar;
  SendType: Integer; PicID: PChar; IsCustom: Boolean;Attachment:PChar): Boolean;
var
  IdBody, IdHtml: TIdText;
  Att: TIdAttachmentFile;
  AMessage: TIdMessage;
  ASmtp_1: TIdSMTP;
begin
  ASmtp_1 := TIdSMTP.Create(nil);
  ASmtp_1.Host := FHost;
  ASmtp_1.Port := FPort;
  ASmtp_1.Username := FUserName;
  ASmtp_1.Password := FPassword;
  //ASmtp_1.AuthType := atDefault;
  ASmtp_1.Connect; // }
  if not ASmtp.Connected then
    ASmtp.Connect;
  AMessage := TIdMessage.Create(nil);
  with AMessage do
  begin
    NoDecode := False;
    NoEncode := False;
    ContentType := 'multipart/mixed';
    Encoding := meMIME;
    MsgId := 'PrettyPic';
    if FileExists(StrPas(JpgFileName)) then
      References := ChangeFileExt(ExtractFileName(StrPas(JpgFileName)), '')
    else
      References := '';
    Recipients.Clear;
    with Recipients.Add do
    begin
      Name := StrPas(Receivename);
      Address := StrPas(ReceiveAddress);
    end;
    Subject := StrPas(MailSubject);
    Sender.Name := StrPas(SenderName);
    Sender.Address := StrPas(SenderAddress);
    From.Name := Sender.Name;
    From.Address := Sender.Address;
    if SendType = 0 then
    begin
      IdBody := TIdText.Create(MessageParts);
      IdBody.ContentType := 'text/plain';
      IdBody.Body.Add(StrPas(MailContent));
      IdBody.Body.Add('');
    end
    else
    begin
      IdHtml := TIdText.Create(MessageParts);
      IdHtml.ContentType := 'text/html;charset=gb2312';
      IdHtml.ContentTransfer := '7bit';
      IdHtml.Body.Add(' <html>');
      IdHtml.Body.Add('  <head>');
      IdHtml.Body.Add('      <title>' + StrPas(MailSubject) + ' </title>');
      IdHtml.Body.Add('  </head>');
      IdHtml.Body.Add('  <body title="' + References + '">');
      IdHtml.Body.Add('    ' + StrPas(MailContent) + ' <br>');
      if (not IsCustom) and FileExists(StrPas(JpgFileName)) then
        IdHtml.Body.Add('      <img src="cid:' + StrPas(PicID) + '" alt="' + ExtractFileName(StrPas(JpgFileName)) +
                            '" name="' + ExtractFileName(StrPas(JpgFileName)) + '" title="">');
      IdHtml.Body.Add('  </body>');
      IdHtml.Body.Add(' </html>');
    end;
    if FileExists(StrPas(JpgFileName)) then
    begin
      Att := TIdAttachmentFile.Create(MessageParts, StrPas(JpgFileName));
      Att.ExtraHeaders.Values['Content-ID'] := StrPas(PicID);
      Att.ContentType := 'image/jpg';
    end;  
    if FileExists(StrPas(Attachment)) then
    begin
      Att := TIdAttachmentFile.Create(MessageParts, StrPas(Attachment));
    end;
  end;
  try
    ASmtp_1.Send(AMessage);
    if Att <> nil then
      Att.Free;
    if IdBody <> nil then
      IdBody.Free;
    if IdHtml <> nil then
      IdHtml.Free;
    if AMessage <> nil then
      AMessage.Free;
    ASmtp_1.Disconnect;

    ASmtp_1.Free; //}
    ASmtp.Disconnect;
    Result := True;
  except on e: Exception do
  begin
    Result := False;
  end;
  end;

end;

end.


Date : 2009-01-14 Size : 1.65kb User : kennyxue

一个异常类示例程序-an abnormal type sample program
Date : 2026-01-03 Size : 175kb User :

This PNG Delphi version 1.56 documentation (this version is a major rewrite intended to replace the previous version, 1.2). Improvements in this new version includes: This new version allows the programmer to not use Delphi heavy units which will greatly reduce the size of the final executable. Read more about this feature here. Most, if not all, Portable Network Graphics features as CRC checking are now fully performed. Error on broken images are now better handled using new exception classes. The images may be saved using interlaced mode also. Transparency information won t be discarted after the image is loaded any more. Most of the images are decoded much faster now. The images will be better encoded using fresh new algorithms. IMPORTANT! Now transparency information is used to display images. -Delphi version 1.56 documentat ion (this version is a major rewrite intended to replace the previous version. 1.2). Improvements in this version include new s : This new version allows the programmer to not us e Delphi heavy units which will greatly reduce t he size of the final executable. Read more about this feature here. Most, if not all, Portable Network Graphics features as CRC Checkout king are now fully performed. Error on broken im ages are now better handled using new exception classes. The images may be saved using interlac ed mode also. Transparency information won t be discarted after the image is loaded any more. Mo st of the images are decoded much faster now. The better images will be encoded using fresh new al gorithms. IMPORTANT! Now transparency inform ation is used to d
Date : 2026-01-03 Size : 285kb User : Han Xun

用来进行烦琐数据的加,减,乘,除的运算操作,得出运算值-Cumbersome data used for add, subtract, multiply, with the exception of computing operations, computing the value derived
Date : 2026-01-03 Size : 166kb User :

EurekaLog 是集成在 Delphi, C++Builder, Visual Studio 等 IDE 下的辅助工具,能快速生成带 Error Report 功能的应用程序。能将错误报告发送到指定邮箱、服务器、记录在本地文件中等。其报告可具体指出出错的代码行,以及机器当前信息、寄存器信息等诸多重要诊断信息。新版还支持内存泄露检测。 -EurekaLog is a complete bug resolution tool for Delphi, C++Builder, C# and VB.NET developers that gives your application the power to catch every exception and memory leak, directly on the end user PC, generating a detailed log of the call stack (with file, class, method and line number), optionally sending you a copy of each log entry via email or the Web
Date : 2026-01-03 Size : 13.15mb User : aldz

Delphi 异常处理是软件处理中很重要的一个技术,可以防止软件的不正常运行。-Delphi is a software exception handling to deal with a very important technology, could not prevent the normal operation of software.
Date : 2026-01-03 Size : 4kb User : 陈树

This book is about database programming in Delphi 6 and Kylix. Most of the code in the book (with the exception of the dbExpress chapters) should also work with Delphi 5, but I have made no effort to test it.
Date : 2026-01-03 Size : 1.79mb User : leventsa

1, 启动gdat.exe 2, 注册、进行一些简单的信息注册 3, 登录 出现成功登录后将引擎最小化 4, 测试sample\delphi\gdattest.exe 看到数据的话说明引擎已正常运行 5, 查看帮助及调用源码了解api使用方法,目前包含(vc6,dephi7,vb6),其它语言将陆续推出. *注意事项* 1,如果你的计算机设有防火墙,请将gdat.exe设成例外 2,计算机时间设置正确 -1, start gdat.exe 2, registration, registration of some simple information 3, login successful login occurs after the engine to minimize 4, the test sample \ delphi \ gdattest.exe to see if the data shows the engine has been running five, view help and call the source understand the api to use, now includes (vc6, dephi7, vb6), other languages will follow.* Note* 1, if your computer has a firewall, please gdat.exe set as an exception 2, the computer Time settings are correct
Date : 2026-01-03 Size : 1.79mb User : dennis

delphi编写的网络流量监视软件,用于监视网络流量是否出现异常-delphi write network traffic monitoring software for monitoring network traffic, whether there is an exception
Date : 2026-01-03 Size : 238kb User : 潘凌昀

程序实现了按照两种不同的异常值处理方法来按照平移法计算预测值-Procedures implemented in accordance with the exception of two different values approach to translation method in accordance with forecast
Date : 2026-01-03 Size : 403kb User : dinosaur

ABC Pro v5.2.2 - ABC is your complete user interface toolkit, making it easy to create a distinctive user interface for your application. Components include toolbars and custom menus DB tree views advanced DB navigation, exception handling, help and hint editing rich text editing button bars animation and transition effects and much more.-ABC Pro v5.2.2 - ABC is your complete user interface toolkit, making it easy to create a distinctive user interface for your application. Components include toolbars and custom menus DB tree views advanced DB navigation, exception handling, help and hint editing rich text editing button bars animation and transition effects and much more.
Date : 2026-01-03 Size : 12.22mb User : cheu

VCLSkin 是Delphi应用程序的扩展VCL类库用来制作用户界面的皮肤。不像其他的部件,要变换应用程序的皮肤,必须修改源代码重新编译,VCLSkin可以变换现有应用程序的皮肤不用修改源代码。 VCLSkin自动变换应用程序中的各种窗口的皮肤。包括Delphi Forms, MDIForm和通常的Windows对话框(MsgBox,Open/Save,Font,Print),甚至Exception对话框。 VCLScrin不仅支持Delphi标准控件,也支持许多第三方控件,例如TMS Grid pack, EnLib Grid, Developer Express QuantumGrid。对于那些想让现有软件换肤的人来说,VCLSkin是最理想的选择。最酷的是,它使用现有的VCL部件。 本软件包含了全部源程序,支持Delphi5,6,7等各种版本,根据自己的环境并入到自己的软件中,还提供了演示程序,获得直观效果。-VCLSkin is an VCL library that extend Delphi application with skinnable user interface . Unlike other skin component that you must modify source code to build skinnable application, VCLskin can skin existing application using VCL components without source code modification. VclSkin automatically skin kinds of windows in application, include Delphi forms,MDIform and common Windows dialogs (MsgBox,Open/Save,Font,Print), even the Exception MsgBox. Vclskin not only support Delphi standard controls, but also support many third-party component, such as TMS Grid pack, EnLib Grid, Developer Express QuantumGrid. It is an excellent choice for those wanting to skin existing applications. The cool thing is that it uses existing VCL components.
Date : 2026-01-03 Size : 11.49mb User : liaowenjia

Delphi异常处理程序调试Delphi debug exception handler-Delphi exception handler to debug Delphi debug exception handler
Date : 2026-01-03 Size : 267kb User : oz

该软件可以侦测正在运行的软件是否工作正常,若是被异常关闭,可以再把它吊起。所侦测的软件可以向它发送Socket,若是它侦测不到发送的Socket,就会把被侦测的软件关闭再吊起。-The software can detect whether the software is working properly run, is an exception if closed, then it can be lifted. The detection software can send it to the Socket, if it can not detect sent Socket, the software will be detected off the lift again.
Date : 2026-01-03 Size : 228kb User : John

ExceptionalMagic is shareware unit for use with Inprise Delphi 3,4,5 and C++ Builder 4,5. This unit replaces standard exception handling behaviour with much more controlled and informative one. It allows you to customize many aspects of exception handling and provides a lot of useful info and features: + location of exception in source (file name & line number) + call-stack information (module name & proc name) + contents of CPU registers and stack + custom formatting of error message + custom displaying of error message + write exception information into log file
Date : 2026-01-03 Size : 1kb User : misterxqm

在delphi 7.0中使用Ms Agent,不能发音 查资料说应该设 agent.LanguageID := 1033 或者说 agent.LanguageID := $0409 可是在delphi 7.0中一到这句就是一个异常,而且也没有声音 网上找资料说是delphi 7.0生成的AgentObjects_TLB.pas出错导至Ms Agent不能发声,但是搜遍了也没有找到修改后AgentObjects_TLB.pas文件。 后来终于在网上找到一个解决办法(万分感谢e_mail为:kongxiangji1981@163.com的不知名的朋友) 就是用d5生成的AgentObjects_TLB.pas覆盖D7的文件 但是这样直接用不能通过编译,解决方法: AgentObjects_TLB.pas文件要加上 {$WARN SYMBOL_PLATFORM OFF} {$WRITEABLECONST ON} {$VARPROPSETTER ON}-Used in the delphi 7.0 Ms Agent, can not pronounce to find information that should be set agent.LanguageID: = 1033 or agent.LanguageID: = $ 0409 but in delphi 7.0 in one sentence is an exception, and it does not sound to find online information that is generated AgentObjects_TLB.pas delphi 7.0 Ms Agent can not lead to an error sound, but searched and did not get modified AgentObjects_TLB.pas file. Then finally on the Internet to find a solution (very grateful e_mail is: kongxiangji1981@163.com' s unknown friend) is covered with d5 D7 AgentObjects_TLB.pas generated files, but this can not be directly compiled, the solution: AgentObjects_TLB. pas file to add {$ WARN SYMBOL_PLATFORM OFF} {$ WRITEABLECONST ON} {$ VARPROPSETTER ON}
Date : 2026-01-03 Size : 9kb User : hexp

一款非常好用的Delphi控件,完整源码 -VCLSkin is a component to create skinnable user interface for Delphi/C++Builder application, It is easy to use, just put one component on mainform, Vclskin will skin whole application without source code modification. Vclskin is leader in this field, Vclskin support most third-part controls in market, there isn t a competitor was able to support 3rd-part controls as many as Vclskin. VclSkin automatically skin kinds of windows in application, include Delphi forms,MDIform and common Windows dialogs (MsgBox,Open/Save,Font,Print), even the Exception MsgBox. Vclskin not only support Delphi standard controls, but also support many third-party component, such as TMS Grid pack, EnLib Grid, Developer Express QuantumGrid. It is an excellent choice for those wanting to skin existing applications. The cool thing is that it uses existing VCL components.
Date : 2026-01-03 Size : 561kb User : 叶枫

delphi 脚本源码 支持pascal C basic javascript-. All pax-languages support such concepts of the modern programming as namespaces, nested classes, inheritance, static(shared) members, indexed properties, default parameters, delegates, exception handling, regular expressions. If you know VB.NET, C# or Object Pascal, you are already familiar with paxScript. . Cross-language integration. For example, you can use modules written in paxBasic and paxC in your paxPascal scripts and vice versa. . Separate compilation of the modules. . Direct calling dll-defined routines. All calling conventions register, pascal, cdecl, stdcall, safecall are supported. . Embedding scripts into html pages.
Date : 2026-01-03 Size : 1.34mb User : c
« 12 »
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.