I did some tests with CSED_FB 1.0.7.0. Great job! I like in particular very much that syntax highlighting and code completion are also implemented for WinAPI functions. This, together with the MessageBox Assistant, makes it very attractive for programmers Windows users.
I found, however, some problems.
1. When I click in the menu Help -> Help Windows API, I get an error message "Document Explorer not installed!", though I have definded the path to win32_fb.chm in the Compiler Options and paths.
2. When I activate "Autocomplete Constructs" in the editor options, constructs are completed in Upper Case, though I selected "Original Case" for keywords. Example:
Code: Select all
For i = 1 To 20
NEXT
Code: Select all
' to use zTraceFB.dll
#Define _ZTRACE
#Ifdef _ZTRACE ' define Dll Function
Extern "Windows-MS" Lib "zTraceFB"
Declare Function zTrace Alias "zTraceFB" (ByRef mes as String) As Integer
End Extern
#Else
Declare Sub zTrace (mes As String)
Sub zTrace (mes as String)
End Sub
#Endif
zTrace "Init : zTrace !"
zTrace "..............."
zTrace str(111111) ' note str() needed with numeric value
' end ztrace code
Dim As Integer i
Dim As String s(20)
For i = 0 To 20
s(i) = Str(i)
zTrace(s(i))
print s(i)
Next
Sleep
"C:\FreeBASIC\fbc.exe" -x "C:\FreeBASIC\Progs\Untitled1.exe" -w pedantic -exx -s console -v Untitled1.bas > Untitled1.log 2>&1
FreeBASIC Compiler - Version 1.05.0 (01-31-2016), built for win64 (64bit)
Copyright (C) 2004-2016 The FreeBASIC development team.
standalone
target: win64, x86-64, 64bit
compiling: Untitled1.bas -o Untitled1.c (main module)
compiling C: C:\FreeBASIC\bin\win64\gcc.exe -m64 -march=x86-64 -S -nostdlib -nostdinc -Wall -Wno-unused-label -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable -Wno-main -Werror-implicit-function-declaration -O0 -fno-strict-aliasing -frounding-math -fno-math-errno -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -masm=intel "Untitled1.c" -o "Untitled1.asm"
assembling: C:\FreeBASIC\bin\win64\as.exe --64 --strip-local-absolute "Untitled1.asm" -o "Untitled1.o"
linking: C:\FreeBASIC\bin\win64\ld.exe -m i386pep -o "C:\FreeBASIC\Progs\Untitled1.exe" -subsystem console "C:\FreeBASIC\lib\win64\fbextra.x" --stack 1048576,1048576 -s -L "C:\FreeBASIC\lib\win64" -L "." "C:\FreeBASIC\lib\win64\crt2.o" "C:\FreeBASIC\lib\win64\crtbegin.o" "C:\FreeBASIC\lib\win64\fbrt0.o" "Untitled1.o" "-(" -lzTraceFB -lfb -lgcc -lmsvcrt -lkernel32 -luser32 -lmingw32 -lmingwex -lmoldname -lgcc_eh "-)" "C:\FreeBASIC\lib\win64\crtend.o"
C:\FreeBASIC\bin\win64\ld.exe: skipping incompatible ./zTraceFB.dll when searching for -lzTraceFB
C:\FreeBASIC\bin\win64\ld.exe: skipping incompatible ./zTraceFB.dll when searching for -lzTraceFB
C:\FreeBASIC\bin\win64\ld.exe: cannot find -lzTraceFB
linking failed: 'C:\FreeBASIC\bin\win64\ld.exe' terminated with exit code 1
Compile/link Error