I have look everywhere on the internet for api functions. I have come across the following website
I have found the api I want to use.
Declare Function FormatMessage Lib "kernel32" Alias "FormatMessageA" (ByVal dwFlags As Long, lpSource As Any, ByVal dwMessageId As Long, ByVal dwLanguageId As Long, ByVal lpBuffer As String, ByVal nSize As Long, Arguments As Long) As Long
Unfortunately i will not work. According visual studio 2005 "as any" is not a valid declare statement.
How do I declare lbSource in the above function.
I have seen that on the website above "as any" is used in many function. I have not come accross this in the programming I do. I only done it for a year.
Could you please also tell me where I can look up uptodate api functions