Horns All Around

For those of you who use the horn as a car locator, a beacon of noise for your blind eyed stagger thru life with too many things of too small moment. For those who think the horn is a doorbell saving your ass from wiggling up the stairs. For those of you who think the horn can’t be heard, that you are to be ignored, just as you would remain ignorant of me. Beware. The sound you make in what you treat as your private parking lot, that place is in my sight. It is my front porch, and you leave your car in my care. Beware. The noise you hear may be one hand laughing.

XREF: C++ VB Eqivalent

Here’s a short table that helps you translate the C++ variable type declaration to its equivalent in Visual Basic:

C++ Variable Visual Basic Equivalent
ATOM ByVal variable as Integer
BOOL ByVal variable as Long
BYTE ByVal variable as Byte
CHAR ByVal variable as Byte
COLORREF ByVal variable as Long
DWORD ByVal variable as Long
HWND ByVal variable as Long
HDC ByVal variable as Long
HMENU ByVal variable as Long
INT ByVal variable as Long
UINT ByVal variable as Long
LONG ByVal variable as Long
LPARAM ByVal variable as Long
LPDWORD variable as Long
LPINT variable as Long
LPUINT variable as Long
LPRECT variable as Type any variable of that User Type
LPSTR ByVal variable as String
LPCSTR ByVal variable as String
LPVOID variable As Any use ByVal when passing a string
LPWORD variable as Integer
LPRESULT ByVal variable as Long
NULL ByVal Nothing or ByVal 0& or vbNullString
SHORT ByVal variable as Integer
VOID Sub Procecure not applicable
WORD ByVal variable as Integer
WPARAM ByVal variable as Long