Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2004.08.01;
Скачать: CL | DM;

Вниз

GetLastWin32Error, SysErrorMessage   Найти похожие ветки 

 
Dann   (2004-07-10 06:11) [0]

Не могу найти в справке сабж (??!!!)


 
Dann   (2004-07-10 06:17) [1]

Может я чего-то не помню, но была какая-то еще функция кроме FormatMessage для вывода сообщений об ошибке Windows.


 
easy ©   (2004-07-10 11:05) [2]

showmessage(syserrormessage(getlasterror));

SysErrorMessage function
Converts OS error codes into strings.
Unit
SysUtils
Category
exception handling routines
function SysErrorMessage(ErrorCode: Integer): string;
Description
SysErrorMessage returns an error message string that corresponds to the specified OS error code.

GetLastError function
Returns the last error reported by an operating system API call.
Unit
System
Category
exception handling routines
function GetLastError: Integer; stdcall;
Description
GetLastError returns the last error reported by an API call into the operating system. Calling this function usually resets the operating system error state.



Страницы: 1 вся ветка

Текущий архив: 2004.08.01;
Скачать: CL | DM;

Наверх




Память: 0.46 MB
Время: 0.022 c
3-1089360692
denis24
2004-07-09 12:11
2004.08.01
table1.filter


14-1089913874
Sun bittern
2004-07-15 21:51
2004.08.01
Access - обработка событий у контролов (для знающих VB)


14-1089968289
syte_ser78
2004-07-16 12:58
2004.08.01
покупать или нет?


4-1087982931
Vac
2004-06-23 13:28
2004.08.01
Где взять ntddk?


1-1090302808
[BAD]Angel
2004-07-20 09:53
2004.08.01
Как побороть EXCEPTION?