Private Declare Function GetWindowLong Lib "user32" Alias "GetWindowLongA" (ByVal hWnd As Long, ByVal nIndex As Long) As Long
Private Declare Function GetModuleFileName Lib "kernel32" Alias "GetModuleFileNameA" (ByVal hModule As Long, ByVal lpFileName As String, ByVal nSize As Long) As Long ' ⌐Rd
Private Declare Function GetModuleHandleZ Lib "kernel32" Alias "GetModuleHandleA" (ByVal hNull As Long) As Long
'Randy Birch, VBnet.com
Private Declare Function StrLenW Lib "kernel32" Alias "lstrlenW" (ByVal lpString As Long) As Long
Private Const GWL_HINSTANCE = &HFFFFFFFA
Private Const MAX_PATH As Long = 260
Private mFile As String
Private mInit As Boolean
Public Sub InitErr(Optional sCompName As String, Optional ByVal fClearMsgLog As Boolean)