Недавно добавленные исходники

•  DeLiKaTeS Tetris (Тетрис)  162

•  TDictionary Custom Sort  3 337

•  Fast Watermark Sources  3 089

•  3D Designer  4 847

•  Sik Screen Capture  3 343

•  Patch Maker  3 553

•  Айболит (remote control)  3 659

•  ListBox Drag & Drop  3 015

•  Доска для игры Реверси  81 704

•  Графические эффекты  3 945

•  Рисование по маске  3 249

•  Перетаскивание изображений  2 629

•  Canvas Drawing  2 752

•  Рисование Луны  2 581

•  Поворот изображения  2 189

•  Рисование стержней  2 168

•  Paint on Shape  1 568

•  Генератор кроссвордов  2 236

•  Головоломка Paletto  1 767

•  Теорема Монжа об окружностях  2 230

•  Пазл Numbrix  1 685

•  Заборы и коммивояжеры  2 057

•  Игра HIP  1 282

•  Игра Go (Го)  1 230

•  Симулятор лифта  1 475

•  Программа укладки плитки  1 216

•  Генератор лабиринта  1 548

•  Проверка числового ввода  1 366

•  HEX View  1 497

•  Физический маятник  1 358

 
скрыть


Delphi FAQ - Часто задаваемые вопросы

| Базы данных | Графика и Игры | Интернет и Сети | Компоненты и Классы | Мультимедиа |
| ОС и Железо | Программа и Интерфейс | Рабочий стол | Синтаксис | Технологии | Файловая система |



Delphi Sources

Соответствие типов С и Delphi



C Type    | Pascal    | Description  
---------------------------------------------- 
LPSTR       PAnsiChar;  String >pointer  
LPCSTR      PAnsiChar;  String >pointer  
DWORD       Integer;    Whole numbers  
BOOL        LongBool;   Boolean values  
PBOOL       ^BOOL;      Pointer to a Boolean value  
Pbyte       ^Byte;      Pointer to a byte value  
PINT        ^Integer;   Pointer to an integer value  
Psingle     ^Single;    Pointer to a single (floating point) value  
PWORD       ^Word;      Pointer to a 16-bit value  
PDWORD      ^DWORD;     Pointer to a 32-bit value  
LPDWORD     PDWORD;     Pointer to a 32-bit value  
UCHAR       Byte;       8-bit values (can represent characters)  
PUCHAR      ^Byte;      Pointer to 8-bit values  
SHORT       Smallint;   16-bit whole numbers  
UINT        Integer;    32-bit whole numbers. Traditionally,  
                        this was used to represent unsigned integers,  
                        but Object Pascal does not have a true  
                        unsigned integer data type.  
PUINT       ^UINT;      Pointer to 32-bit whole numbers  
ULONG       Longint;    32-bit whole numbers. Traditionally,  
                        this was used to represent unsigned integers,  
                        but Object Pascal does not have a true  
                        unsigned integer data type.  
PULONG      ^ULONG;     Pointer to 32-bit whole numbers  
PLongint    ^Longint;   Pointer to 32-bit values  
PInteger    ^Integer;   Pointer to 32-bit values  
PSmallInt   ^Smallint;  Pointer to 16-bit values  
PDouble     ^Double;    Pointer to double (floating point) values  
LCID        DWORD;      A local identifier  
LANGID      Word;       A language identifier  
THandle     Integer;    An object handle. Many Windows API functions return a value  
                        of type THandle, which identobject ifies that object within  
                        Windows'internal object tracking tables.  
PHandle     ^THandle;   A pointer to a handle  
WPARAM      Longint;    A 32-bit message parameter. Under earlier versions of Windows,  
                        this was a 16-bit data type.  
LPARAM      Longint;    A 32-bit message parameter  
LRESULT     Longint;    A 32-bit function return value  
HWND        Integer;    A handle to a window. All windowed controls, child windows,  
                        main windows, etc., have a corresponding window handle that  
                        identifies them within Windows'internal tracking tables.  
HHOOK       Integer;    A handle to an installed Windows system hook  
ATOM        Word;       An index into the local or global atom table for a string  
HGLOBAL     THandle;    A handle identifying a globally allocated dynamic memory object.  
                        Under 32-bit Windows, there is no distinction between globally  
                        and locally allocated memory.  
HLOCAL      THandle;    A handle identifying a locally allocated dynamic memory object.  
                        Under 32-bit Windows, there is no distinction between globally  
                        and locally allocated memory.  
FARPROC     Pointer;    A pointer to a procedure, usually used as a parameter type in  
                        functions that require a callback function  
HGDIOBJ     Integer;    A handle to a GDI object. Pens, device contexts, brushes, etc.,  
                        all have a handle of this type that identifies them within  
                        Windows'internal tracking tables.  
HBITMAP     Integer;    A handle to a Windows bitmap object  
HBRUSH      Integer;    A handle to a Windows brush object  
HDC         Integer;    A handle to a device context  
HENHMETAFILE  Integer;  A handle to a Windows enhanced metafile object  
HFONT       Integer;    A handle to a Windows logical font object  
HICON       Integer;    A handle to a Windows icon object  
HMENU       Integer;    A handle to a Windows menu object  
HMETAFILE   Integer;    A handle to a Windows metafile object  
HINST       Integer;    A handle to an instance object  
HMODULE     HINST;      A handle to a module  
HPALETTE    Integer;    A handle to a Windows color palette  
HPEN        Integer;    A handle to a Windows pen object  
HRGN        Integer;    A handle to a Windows region object  
HRSRC       Integer;    A handle to a Windows resource object  
HKL         Integer;    A handle to a keyboard layout  
HFILE       Integer;    A handle to an open file  
HCURSOR     HICON;      A handle to a Windows mouse cursor object  
COLORREF    DWORD;      A Windows color reference value, containing values  
                        for the red, green, and of ;bsp;blue components of a color 




Похожие по теме исходники

Delphi Magazine

Tetris DelphiX

Quake Delphi Sources

Delphi MMOG

 

Delphi Яндекс Директ

Delphi to HTML Converter

Проверка знаний Delphi

Is Delphi Dying Monitor

 

Autosave Delphi 7




Copyright © 2004-2024 "Delphi Sources" by BrokenByte Software. Delphi World FAQ

Группа ВКонтакте