Dec 14th, 1999, 10:43 AM
Is my installation corrupt? I'm seeing alot of sample code with Public and when I try them, I get "...not allowed as Public members of object modules"
I put them in the General Declarations section of a Standard EXE project.
Public Declare Function GetMessagePos Lib "user32" () As Long
OR
Public Const WM_LBUTTONUP = &H202
Also, I tried two examples of AddresOf, from different people, and they both said improper usage.
Are there some project settings I need, or is my installation corrupt? Or is an object module not a module? I'm going nuts. Or do these examples only work for 90 days after buying the MS product?
I put them in the General Declarations section of a Standard EXE project.
Public Declare Function GetMessagePos Lib "user32" () As Long
OR
Public Const WM_LBUTTONUP = &H202
Also, I tried two examples of AddresOf, from different people, and they both said improper usage.
Are there some project settings I need, or is my installation corrupt? Or is an object module not a module? I'm going nuts. Or do these examples only work for 90 days after buying the MS product?