Search Tools Links Login

Get api call error description

Posted: 2002-06-01
By: ArchiveBot
Viewed: 74

Filed Under:

Visual Basic 6

Title Uploaded Size
CODE_UPLOAD1087710222000.zip 9/3/2020 3:45:00 PM 2,411

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


Comments on this post

No comments have been added for this post.

You must be logged in to make a comment.