COM ActiveX   3GL   4GL

Win32 API

, Windows, , , . , , . . .
, . GDI User. , Windows .
Windows
, Windows: Windows 95, 98, 2000 Windows NT, . . 32- .

.
Windows 3.1 Microsoft Win32s, Win32.

Windows (Windows kernel) - , , . , , , Windows.
32- . . 1.8 , .
1.8. Win32 API


Windows NT

Windows 95

Windows 3.1 Win32

32-




/








API



Windows 3.1





(DDE)




- ( Intel)








( 2)








TAPI (Telephone API)








User GDI





, Win32 API (Application Programming Interface) - 32- Windows.

(multitasking) - .


, . . , , , , .

, 16- (cooperative multitasking). , "" . , , . "" , "" , .
(preemptive multitasking). 32- . , . (. 3).
Windows
, Windows.
, Win32 Delphi - . Win32 (kernel) GDI User.

- Windows. Windows - , . ( 4- ). , , (DLL).
. (threads), ( . 3). , (primary thread). , .
- , , . .
, . Windows , .
Win32 API , . 1.9.
1.9. Win32 API

Win32 I


CreateProcess

. Windows 3.1 winExec.

ExitProcess


GetCurrentProcess

. DuplicateHandle

DuplicateHandle

,

GetCurrentProcess ID

.

GetExitCodeProeess


GetPriorityClass


GetStartupInfo

TStartupinfo,


OpenProcess


SetPriorityClass


TerminateProcess


WaitForInput Idle




(kernel objects) - , , , , . ., . . , Windows.
. . . : Win32 API ( , ) .
, createMutex. , openMutex, .
Windows . . . , .
GDI User
Windows 3.1 . . : , GDI User, , .
(Graphical Device Interface, GDI) - Windows, , Windows.
- , , GDI.
GDI- , , , . ., .. , GDI.
(User) - Windows, , .
User - , , , .
16- Windows . , Windows , . Windows. (Local Descriptor Table). , ( DLL) , .
32- , . , .
GDI User Win32 API. GDI - GDI.EXE, User - USER.EXE. , .
Win32
, Win32.
Windows
, Win32 - 32- . , , Win32, 4 . ( ) , .
Windows :
- ( ), . , , . , , 300 , . , , ;


Win32 64 . , , () 64 . .

- , . , .


, , . . , Windows NT - 8 , Windows 95/98 - 4 .

( 32-128 ), (swap file) . , , , , Windows , . , , Windows , , , , .
. , .

. , : , , . , , .
, , . -, , . . . -, . , 256 , , 4 8 ( ).
(heap). - , . , . - , . Windows . , , . , . Win32 API (. 1.10).
1.10. Win32 API



HeapCreate

, . .

HeapAlloc


HeapReAlloc

, HeapAlloc

HeapFree

, HeapAlloc

HeapDestroy

,

HeapCreate

VirtualAlloc


VirtualFree


VirtualLock


VirtualUnlock

, VirtualLock

VirtualQuery

,

VirtualQusryEx

, VirtualQuery,

VirtualProtect

,

VirtualProtectEx

, VirtualProtect,


. 1.10, LocalAlloc (GlobalAlloc) LocalFree (GlobalFree). - , . . Win32 . , , Windows. .
, Microsoft, Delphi , Delphi. Delphi 1 . Delphi - 16 . Delphi :
- New, Dispose - . ;
- GetMem, FreeMem - . (, . .).
, . .

, . , . . , - . . , , , . ( ) . Delphi , TMemoryStream . : , , , .
, , . .
Win32
Win32 API true false. , .
GetLastError
false. , Win32 API GetLastError. .


false, GetLastError . , , GetLastError .

, , . , , , GetLastError. GetLastError , .


Win32 Programmer's Reference, Delphi.

GetLastError:
If not CreateProcess (CommandLine, nil, nil, nil, False,
NORMAL_PRIORITY_CLASS, nil, nil, Startuplnfo, Processlnfo) then
Raise Exception.Create (' : ' +
IntToStr (GetLastError));

. , , GetLastError.
SetErrorMode
, , , " " ( , ), Windows, . , SetErrorMode:
SetErrorMode (uMode);
. 1.11 uMode.
1.11. uMode SetErrorMode



SEM_FAILCRITICALERRORS

. ,

SEM_NOALIGNMENTFAULTEXCEPT

86

SEM_NOGPFAULTERRORBOX

.

SEM_NOOPENFILEERRORBOX

, .



Win32 API FatalAppExit. , , .


, . , , .

  COM ActiveX   3GL   4GL

, , Object - - :
- () ();
- , . , .
{DATA}




 10.11.2021 - 12:37: - Personalias -> WHO IS WHO - - _.
10.11.2021 - 12:36: - Conscience -> . ? - _.
10.11.2021 - 12:36: , , - Upbringing, Inlightening, Education -> ... - _.
10.11.2021 - 12:35: - Ecology -> - _.
10.11.2021 - 12:34: , - War, Politics and Science -> - _.
10.11.2021 - 12:34: , - War, Politics and Science -> . - _.
10.11.2021 - 12:34: , , - Upbringing, Inlightening, Education -> , - _.
10.11.2021 - 09:18: - New Technologies -> , 5G- - _.
10.11.2021 - 09:18: - Ecology -> - _.
10.11.2021 - 09:16: - Ecology -> - _.
10.11.2021 - 09:15: , , - Upbringing, Inlightening, Education -> - _.
10.11.2021 - 09:13: , , - Upbringing, Inlightening, Education -> - _.
Bourabai Research -  XXI Bourabai Research Institution