York Jong's Library tagged → View Popular
探訪動態連結函式庫
在Windows 下DLL 通 常 是 以 『 副 檔 名 為DLL 的 檔 案 』 存 在 ,DLL 內 可 以 包 含 提 供 外 部 呼 叫 的 函 式 、 資 源 (Resource ) 以 及各 種 的 變 數 , 當DLLs 被 應 用 程 式 載 入 時 這 些DLLs 內 含 的 資料 都 會 變 為 應 用 程 式 所 屬 行 程 的 一 部 份
-
tdump.exe 工 具 列 出 一
個DLL 檔內 所 有 的Section -
tdump inputfile outputfile
- 13 more annotations...
Borland C++ Builder - Lesson 06: Using Additional Libraries
A library is a group of functions, classes, or other resources that can be made available to programs that need already implemented entities without the need to know how these functions, classes, or resources were created or how they function.
-
There are two broad categories of libraries you will deal with in your programs:
static libraries and dynamic libraries. -
A static library created can be used by either a
console application, a Win32 application, or a VCL application. That's one
of its advantages - 7 more annotations...
C++ Compiler Enhancements 2.79
C++ Compiler Enhancements (bcc32pch) is a plugin for BDS/TurboPro 2006 and C++Builder 2007 that improves the compilation and code insight speed of the IDE.
Easy Bug Tracer v1.0.6 Full Source
這個 Bug Tracer 是一個簡單的應用程式,你在寫作程式時只必須加入 #include "dout.h" ,並在你需要輸出檢查訊息處加上 dout("錯誤訊息");即可。
程式執行時畫面 hang 住不動
程式執行過程中 Memo 一直印出抓到的訊息,程式會 hang 在那,此時若開啟其他視窗會無法看到 memo 的文字,必須等到程式跑完,若不用 Multi-Thread ,還有什麼方法解決?
-
在Memo會一直印出抓到訊息的地方加上
Application->ProcessMessages(); -
在迥圈中加上sleepex(0,true);
釋放 ui thread 的控制權
BCB中製作靜態執行檔 - GaryLee
-
Project->Options->Packages->Runtime packages->Build with runtime packages
Project->Options->Linker->Linking->Use dynamic RTL請確定這兩個選項在你的Project是處於Disable,也就是『未被勾選』的狀態。然後重新Compile一次您的程式就可以了
BCB中的單線程和多線程
-
TThread對像提供了一個Synchronize方法,當需要在線程中訪問VCL對像屬性或調用方法時,通過Synchronize方法來訪問屬性或調用方法就能避免衝突
-
void __fastcall TMyThread::Execute()
{
...
Synchronize((TThreadMethod)PushTheButton);
...
} - 2 more annotations...
Borland C++ Builder for Delphi Users
-
Types
C++ and Object Pascal are both typed languages. Most of the basic Delphi types can be easily found in C++ with a similar name. Additional information regarding more complicated data types are explained in the "Emulated Delphi Types" section.
Data CategoryDelphi Type
C++ Builder Type
Description
Integer
ShortInt
char
1 byte signed integer
Byte
unsigned char
1 byte unsigned integer
SmallInt
short
2 byte signed integer
Word
unsigned short
2 byte unsigned integer
Int, LongInt
int, long
4 byte signed integer
Cardinal
N/A
31 bit unsigned integer
N/A
unsigned long
4 byte unsigned integer
Float Point
Single
float
4 byte float point
Real
N/A
6 byte float point
Double
double
8 byte float point
Extended
long double
10 byte float point
Comp
N/A
8 byte integer (different from LongInt)
String
Char
char
1 byte character
ShortString
ShortString
Pascal String, limited to 255 characters
AnsiString
AnsiString
Pascal String, unlimited size
PChar
char *
null-terminated string
Other
Boolean
bool
true/false
TDateTime
TDateTime
Date and Time
Currency
Currency
Money
ShortString, AnsiString, TDateTime and Currency are not built-in C++ types. They are emulated in Borland C++ Builder as classes.
Selected Tags
Related Tags
Sponsored Links
Top Contributors
Diigo is about better ways to research, share and collaborate on information. Learn more »
Join Diigo


