OK I create my first project and get a compile error...
I bet this is a real simple one.. too.....
The error is totally screwy since this include statement is not even close to a sample project..
This excerpt is from my project include *.inc file...
I even deleted the .inc file and it recreated it again...
'Determine if the Class already exists. If it does not, then create the class.
szClassName = "XPDEPLOY2_FORM1"
If GetClassInfoEx(App.hInstance, szClassName, wce) = 0 Then
wce.cbSize = SizeOf(wce)
wce.STYLE = %Form1 ***** ERROR HERE *****
wce.lpfnWndProc = CodePtr(FORM1_FORMPROCEDURE)
wce.cbClsExtra = 0
wce.cbWndExtra = 0
wce.hInstance = App.hInstance
wce.hIcon = LoadImage(App.hInstance, "AAAAA_APPICON", %IMAGE_ICON, 32, 32, %LR_SHARED)
wce.hCursor = LoadCursor(%Null, ByVal %IDC_ARROW)
wce.hbrBackground = %COLOR_BTNFACE + 1
wce.lpszMenuName = %Null
wce.lpszClassName = VarPtr(szClassName)
wce.hIconSm = LoadImage(App.hInstance, "AAAAA_APPICON", %IMAGE_ICON, 16, 16, %LR_SHARED)
RegisterClassEx wce
End If
I fixed it by selecting form properties... wonder how they got screwed up... couldn't have been me.... I'm too new do anything
that would cause a problem...