Search found 170 matches

by oyster
Jan 07, 2019 5:30
Forum: Libraries
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 380
Views: 70899

Re: FLTK C for FreeBASIC Jan 09, 2017

3 more things
1. how to do static link with FLTK in fb app?

2. does the spreadsheet/table in fltk*.bi support sorting by clicking the column header?

3. As for fltk for nim, https://github.com/Skrylar/nfltk is updated in July 2018, and there is only one test but you supplied so many!
by oyster
Jan 07, 2019 5:20
Forum: Libraries
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 380
Views: 70899

Re: FLTK C for FreeBASIC Jan 09, 2017

you scared me. So I checked https://www.fltk.org/COPYING.php and find FLTK uses LGPL, I understand that it is ok to use FLTK dynamic file(i.e. DLL on windows) even in commercial, close-source app. In fact, FLTK uses a modified LGPL, so if I use only official FLTK without modification, I can do stati...
by oyster
Jan 06, 2019 13:49
Forum: Libraries
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 380
Views: 70899

Re: FLTK C for FreeBASIC Jan 09, 2017

btw, is it legal to translate the fltk*.bi(and maybe the later fltk*-oop.bi) into nimlang? As we can find that the freebasic function's declarations look like those in nimlang too much. import winim # for the L"" type long = int16 Fl_Widget = int16 Fl_Window = int16 Fl_Button = int16 Fl_Ca...
by oyster
Jan 06, 2019 13:37
Forum: Libraries
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 380
Views: 70899

Re: FLTK C for FreeBASIC Jan 09, 2017

I can't resist translating one of your demo file into nimlang (http://nimlang.org/) however I am stuck on binding the callback function btw, I forget to save the nim source into utf8, so the displayed string is wrong http://att.newsmth.net/att.php?p.109.166090.339.jpg
by oyster
Jan 06, 2019 9:51
Forum: Windows
Topic: question on call functions in DLL
Replies: 17
Views: 1456

Re: question on call functions in DLL

the latest DLL/C header/Manual are uploaded to https://github.com/retsyo/xcgui_lib R:\xcgui\XCGUI.dll on Workstation version 6.7601 File Version Information : Version language : 中文(简体,中国) FileDescription : 炫彩界 FileVersion : 2018.7.28.0 InternalName : XCGUI LegalCopyright : Copyright (C) 2010-2018 炫彩...
by oyster
Jan 06, 2019 3:23
Forum: Libraries
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 380
Views: 70899

Re: FLTK C for FreeBASIC Jan 09, 2017

the new one looks so clean! I have read fltk many years ago when it looks some ugly(I mean the visual looking ), I will check whether it has done face-lifting.
by oyster
Jan 06, 2019 2:54
Forum: Windows
Topic: question on call functions in DLL
Replies: 17
Views: 1456

Re: question on call functions in DLL

Thanks, every one I put xcgui.dll, which is a 32bits dll and said to be free for use, here https://github.com/retsyo/xcgui_nim (btw you can find that I am stuck in this nim binding) In fact, there is an incompleted binding for VB over the internet, it is not hard to make it go with fb's syntax. here...
by oyster
Jan 05, 2019 7:11
Forum: Windows
Topic: question on call functions in DLL
Replies: 17
Views: 1456

Re: question on call functions in DLL

blush

there is both libray and library in my code, the first one is a typo
by oyster
Jan 05, 2019 1:54
Forum: Windows
Topic: question on call functions in DLL
Replies: 17
Views: 1456

Re: question on call functions in DLL

thanks. It fixes. But there are one further question. Since I declare the long APIs in a include file, for example "xcgui.bi" ' I am "xcgui.bi" Dim shared libray As Any Ptr libray = DylibLoad("xcgui") then tons of functions are declared how can I do DyLibFree(library) s...
by oyster
Jan 04, 2019 4:55
Forum: Windows
Topic: Tiny GUi and tiny Designer
Replies: 25
Views: 9641

Re: Tiny GUi and tiny Designer

I think it could be better if the code is placed on github or some where and with image demo
by oyster
Jan 04, 2019 4:52
Forum: Windows
Topic: question on call functions in DLL
Replies: 17
Views: 1456

question on call functions in DLL

in the following code, there are 1 error and 1 warning 1. the error occurs on line 32 res = XC_MessageBox(0, "Hello", "pCaption", 1) if I comment out it, there is no error. But I have defined XC_MessageBox on line 20. So what does this error mean? 2. the warning is on line 48 @On...
by oyster
Jan 03, 2019 14:57
Forum: Windows
Topic: how to do strconv?
Replies: 0
Views: 698

how to do strconv?

in a vb GUI library wrapping around on a DLL, the following code is used to treate all text Private Function L(data As String) As String L = StrConv(data, vbUnicode) End Function I mimiced the vb version in fb. Even pure english string are passed to the button function, the button is shown but with ...
by oyster
Jan 03, 2019 14:20
Forum: Projects
Topic: Simple WinAPI GUI library
Replies: 58
Views: 24763

Re: Simple WinAPI GUI library

bug in `ListBox_Table.bas`, the line `Control_SetFont(List_Table, "Courier New")` should be `Control_SetFont(List_Table, Control_Createfont("Courier New"))` btw, is it difficult to add an advanced EXCEL-like list widget? i.e. th columns width, row height can be set by mouse or co...
by oyster
Nov 11, 2018 6:13
Forum: Community Discussion
Topic: Crescent Software products for DOS are now PD.
Replies: 8
Views: 1141

Re: Crescent Software products for DOS are now PD.

nice

what if RapidQ and old VB-dos are released to the public
by oyster
Nov 11, 2018 6:01
Forum: Community Discussion
Topic: OT: BlitzMax is now free and open source
Replies: 21
Views: 4738

Re: OT: BlitzMax is now free and open source

what happend to blitzbasic whose site seems disappeared

Go to advanced search