API LoadString 爲什麽總是調用失敗?
聲明如下:
Public Declare Function LoadString Lib "user32" Alias "LoadStringA" (ByVal hInstance As Integer, ByVal wID As Integer, ByVal lpBuffer As String, ByVal nBufferMax As Integer) As Integer
調用:
dim lngReturn as integer
lngReturn = LoadString(lngPointer, CLng(strid), strString, 255)