I'm trying to create a program by including "the Ultimate FB HashMap(hashmap.bi)" and "FBGUI library for Windows (window9.bi)".
I can't compile this program with the following error.
My development environment is Windows 10 and FreeBASIC 32bits 1.07.1.
Do I have to give up using both at the same time?
C:\Tool\FreeBASIC\inc\win\windef.bi(89) error 120: Expected period ('.'), found 'as' in 'type BOOL as long'
C:\Tool\FreeBASIC\inc\win\windef.bi(138) error 17: Syntax error, found 'as' in 'type FARPROC as function() as long'
C:\Tool\FreeBASIC\inc\win\windef.bi(138) error 133: Too many errors, exiting
C:\Tool\FreeBASIC\inc\win\basetsd.bi(62) error 17: Syntax error, found 'as' in 'type POINTER_64_INT as ulong'
C:\Tool\FreeBASIC\inc\win\basetsd.bi(146) error 17: Syntax error, found 'UHALF_PTR' in 'type UHALF_PTR as ushort'
C:\Tool\FreeBASIC\inc\win\basetsd.bi(178) error 17: Syntax error, found 'INT_PTR' in 'const MAXINT_PTR = cast(INT_PTR, MAXUINT_PTR shr 1)'
C:\Tool\FreeBASIC\inc\win\basetsd.bi(180) error 17: Syntax error, found 'ULONG_PTR' in 'const MAXULONG_PTR = not cast(ULONG_PTR, 0)'
C:\Tool\FreeBASIC\inc\win\basetsd.bi(181) error 17: Syntax error, found 'LONG_PTR' in 'const MAXLONG_PTR = cast(LONG_PTR, MAXULONG_PTR shr 1)'
C:\Tool\FreeBASIC\inc\win\basetsd.bi(183) error 17: Syntax error, found 'UHALF_PTR' in 'const MAXUHALF_PTR = cast(UHALF_PTR, not 0)'
C:\Tool\FreeBASIC\inc\win\basetsd.bi(184) error 17: Syntax error, found 'HALF_PTR' in 'const MAXHALF_PTR = cast(HALF_PTR, MAXUHALF_PTR shr 1)'
C:\Tool\FreeBASIC\inc\win\basetsd.bi(187) error 17: Syntax error, found 'SIZE_T_' in 'type SIZE_T_ as ULONG_PTR'
Code: Select all
'inconsistency
#Include "hashmap.bi"
dsm_HashMap_define(ZString, Integer)
Using dsm
#Include "window9.bi"
Sleep