12-19-2004, 07:55 AM
Being the sadistic prick I am, I decided to test the new preprocessor built into FB. Took me some messing with to get it to work (didn't think it was case-sensitive, heh, but I guess it is after all), but when I did get it to work, I wanted to see if it truly worked...so, I included the new version of gdi32.bi and compiled it without win32types.bi being present (the new gdi32.bi requires inclusions from win32constants.bi and win32types.bi)...and I got this interesting response...
EDIT: Also, looks like you can't use underscores in the #DEFINEs:
Quote:C:\freeBASIC-dev\freeBASIC>fbc test.basHow could it generate an error on line 2 of a file that doesn't even exist?
win32types.bi : error 24: File not found
win32types.bi(2) : error 10: Expected '=', found: 'As'
EDIT: Also, looks like you can't use underscores in the #DEFINEs:
Quote:user32.bi(10) : error 3: Expected End-of-Line, found: 'DEFINE'
I'd knock on wood, but my desk is particle board.