Hey… new C9 user here … want to refresh an old app with a new view and want to add some of things like auto windows size… i was able to add printf.inc but when i try to add winapi.inc i get this error in compilation:
Expected: <ID> <LINEBREAK> ; END INCLUDE OMIT SECTION COMPILE PRAGMA MODULE
and it shows error on top of svapi.inc (included by winapi.inc):
omit('EndDefine',_WINAPI_)
_WINAPI_ equate(1)
And here:
INCLUDE('svapi.inc'), ONCE
MAP
MODULE('winapi.clw')
COLORREF::FromRGB(BYTE r, BYTE g, BYTE b), COLORREF
COLORREF::FromClarion(LONG pClaColor), COLORREF
COLORREF::ToRGB(COLORREF pWinColor, *BYTE r, *BYTE g, *BYTE b)
COLORREF::ToClarion(COLORREF pWinColor), LONG
END
END
and same error above?
Appreciate all the help for someone just finding the tools and ropes.