Tools Links Login

Get api call error description

when call Api funtion, this call return a long value, this value indicate the error code of the function. This code get description for this code error, in the windows standart error descriptions.

Original Author: Miguel Aldatz

API Declarations

Private Declare Function FormatMessage Lib "kernel32" Alias "FormatMessageA" (ByVal dwFlags As Long, ByVal lpSource As Long, ByVal dwMessageId As Long, ByVal dwLanguageId As Long, ByVal lpBuffer As String, ByVal nSize As Long, Arguments As Any) As Long
Private Declare Function LoadLibraryEx Lib "kernel32" Alias "LoadLibraryExA" (ByVal lpLibFileName As String, ByVal hFile As Long, ByVal dwFlags As Long) As Long
Private Declare Function FreeLibrary Lib "kernel32" (ByVal hLibModule As Long) As Long

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 91 times

Categories

Visual Basic 6

Attachments

CODE_UPLOAD1087710222000.zip
Posted: 9/3/2020 3:45:00 PM
Size: 2,411 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.