原创 如何將C/C++程序轉譯成Delphi(三)
2.2. Unit dependencies C and C++ use #include to include header files in another header file or a source file. Delphi
原创 最小的程序
program testwindow; uses Windows, Messages; var WinClass: TWndClassA; Inst, Handle, Button1, Label1, Edit1: Integer
原创 如何將C/C++程序轉譯成Delphi(九)
Case Integer of starts the variant part of the record. Each variant is identified by an ordinal value. This value has n
原创 如何將C/C++程序轉譯成Delphi(十)
3.6.3. Packed Records (Alignment) If a record is packed (aligned) then the starting byte of a field (and consequently a
原创 如何將C/C++程序轉譯成Delphi(十五)
8. The Jedi Common Support Unit unit JediUtil; {==========================================================} {
原创 在Delphi中處理數據庫日期型字段的顯示與輸入
---- 在使用Delphi進行數據庫設計時,不可避免的會涉及到日期型字段的輸入問題。不過與Microsoft的Access 97中文版等相比,Delphi本身提供的日期型字段的顯示和輸入方式並不適合中國人的習慣。因此對於日期型字段的處理
原创 TCP/IP(九)
(*@///0000000B01*)(*@///0000000801*)(*@/// class t_news(t_mailnews) *)(*@/// constructor t_news.Create(Aowner:TComponen
原创 可以計算到的控件
unit mwFastTime; interface uses SysUtils, Windows, Classes; type TmwFastTime = class(TComponent) private c, n1, n
原创 隨心所欲取顏色(鼠標經過的地方顏色值均可取到)
unit Ugetcor; interface uses SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls, Forms, Dialogs, Std
原创 在Delphi中處理數據庫日期型字段的顯示與輸入===>>>主窗口單元
{主窗口單元}unit Main; interface uses……{略去其他內容}procedure Table1BirthdayGetText(Sender: TField;var Text: String;DisplayText:
原创 與文件相關Api函數列表
Api函數列表 ——與文件相關 Api函數名 函數說明 適用範圍 W3.x W95 NT mmioWrite 寫文件 否 是 是 WriteFile 寫文件 否 是 是
原创 如何將C/C++程序轉譯成Delphi(十三)
7. Linking There are two ways to link a DLL and import a function. Static linking is very easy and the recommended way
原创 如何將C/C++程序轉譯成Delphi(八)
3.6. Structures, Records 3.6.1. Simple Structures C structures are similar to records in Delphi. Structures are usually
原创 如何將C/C++程序轉譯成Delphi(二)
. Anatomy of a C Header Back to contents ## to do 2. Conversion Basics 2
原创 如何將C/C++程序轉譯成Delphi(十二)
5. Conditionals ###ToDo Back to contents 6. Functions 6.1. Basics Let's use the following C-declaration as an example