Search found 47 matches

by WQ1980
Aug 07, 2018 11:10
Forum: Libraries
Topic: Question about FLTK and FreeBASIC
Replies: 18
Views: 3935

Re: Question about FLTK and FreeBASIC

taijinantangXX #Include Once "fltk-c.bi" #Include Once "fbthread.bi" #Include Once "vbcompat.bi" Dim Shared As Fl_Window Ptr Window_Main Dim Shared As Fl_Widget Ptr Box1 Dim Shared As Integer Win_Lenth Dim Shared As Integer Win_Height Dim Shared As String MytimeString ...
by WQ1980
Jan 06, 2018 16:46
Forum: Libraries
Topic: First test of libVLC include files.
Replies: 30
Views: 10359

Re: First test of libVLC include files.

Can someone expand this sample to play the video in a WINDOW created with CreateWindowEx() and a message loop. Thanks in advanced. Small example window.bi + vlc.bi (window version, without image buffer and etc. ) #Include Once "vlc\vlc.bi" #Include Once "windows.bi" Dim msg As M...
by WQ1980
Oct 03, 2017 23:02
Forum: Projects
Topic: FreeBasic IDE-poseidonFB(Update 2020.07.04)
Replies: 1072
Views: 166010

Re: FreeBasic IDE-poseidonFB(Update 2017.09.30)

5.) Crash (no notification; poseidonFB just closes). Steps to reproduce: - open poseidonFB - press Ctrl+N (new file) - now enter some special characters, for example german umlauts: ö ä (you can copy them here and use Ctrl+V to paste them into the editor several times) + analogically cyrillic, hier...
by WQ1980
Oct 02, 2017 19:24
Forum: Projects
Topic: FreeBasic IDE-poseidonFB(Update 2020.07.04)
Replies: 1072
Views: 166010

Re: FreeBasic IDE-poseidonFB(Update 2017.09.30)

Kuan Hsu 1) Updated file Russian.lng http://www.mediafire.com/file/ar09aod7a1sd9do/Russian.zip 2)Problem with arrangement of buttons \ labels Labels do not fit screenshot http://www.mediafire.com/view/qni9qo17qdo02bt/000.jpg# Russian language, Windows 7 x64, scale screen 125% default font Segoe UI,...
by WQ1980
Jul 27, 2017 12:22
Forum: Community Discussion
Topic: NVIDIA CUDA for FreeBasic ?
Replies: 7
Views: 1265

Re: NVIDIA CUDA for FreeBasic ?

Richard wrote:Is there any other way to use the GPU acceleration features from FB ?

Maybe OpenCL ?
viewtopic.php?f=14&t=24494&hilit=opencl
by WQ1980
Apr 25, 2017 21:41
Forum: Libraries
Topic: Libtiff example (read tiff file) Win32+Linux
Replies: 0
Views: 1043

Libtiff example (read tiff file) Win32+Linux

Read tiff file from libtiff (win + linux): http://www.mediafire.com/file/wvjr95zd04unx49/libtiff_example.zip '' tiff lib example '' read tiff file '' coded by WQ1980 2017 #Ifdef __FB_WIN32__ #LibPath "lib/win32/" #Inclib "tiff" #Inclib "jpeg" #Inclib "lzma" #I...
by WQ1980
Mar 30, 2017 19:42
Forum: Linux
Topic: New Linux Install
Replies: 7
Views: 1584

Re: New Linux Install

albert How do you create windows and controls in Linux? IUP (Portable User Interface) http://webserver2.tecgraf.puc-rio.br/iup/ This is a good wrapper over Gtk(Linux)\WinApi(Win) + additional functions Examples from D.J.Peters: second message http://www.freebasic.net/forum/viewtopic.php?t=18500 (IU...
by WQ1980
Feb 16, 2017 19:23
Forum: Libraries
Topic: FBTrueType static Win/Lin 32/64-bit
Replies: 65
Views: 39915

Re: FBTrueType Windows and Linux (32/64-bit)

Is possible to create such a font? (second row)

http://s012.radikal.ru/i320/1509/cc/97458bb58bed.png
by WQ1980
Jan 10, 2017 16:36
Forum: General
Topic: I need someone to defeat my string splitting algo
Replies: 113
Views: 6328

Re: I need someone to defeat my string splitting algo

Marpon remind : the strtok function from the clib is very fast but not thread-safe , that function incorporates a static value to store the initial pointer and uses it on the consecutive executions, so that means if you create a multi thread prog using that function it will surely fail. 1) compilin...
by WQ1980
Jan 09, 2017 13:28
Forum: Beginners
Topic: UTF-8 to number
Replies: 4
Views: 632

Re: UTF-8 to number

#Include Once "crt.bi" '' C utf decode function: utf8 string( zstring ptr) -> array number unicode character(UInteger Ptr) Extern "c" Lib "utf_c" Declare Function u_decode_utf Cdecl (ByVal p As Const ZString Ptr) As UInteger Ptr End Extern '' Dim As FILE Ptr f Dim As Z...
by WQ1980
Oct 29, 2016 20:20
Forum: Community Discussion
Topic: Programmable Grid Component
Replies: 9
Views: 1544

Re: Programmable Grid Component

Are there programmable grid components that can be used to add spreadsheet functionality to a FreeBasic application? If so, are there examples available using any such components with FreeBasic? Maybe IupMatrix of IUP http://webserver2.tecgraf.puc-rio.br/iup/ ' matrix.bas #Include "inc/iup.bi&...
by WQ1980
Feb 16, 2016 17:51
Forum: Community Discussion
Topic: Dim Byref syntax
Replies: 134
Views: 16813

Re: Dim Byref syntax

FreeBASIC-1.05.0 Type Nod As String sect As String key As Integer tp End Type Type ini As Nod a(30) End Type ReDim Shared aIn(10) As ini Dim Shared ByRef aU_SeN As ini = aIn(0) aU_SeN.a(0).sect = "0000000000000000000000" ?aU_SeN.a(0).sect Sleep Error "Aborting due to runtime error 12...
by WQ1980
Feb 09, 2016 22:56
Forum: Linux
Topic: Display Web Page with in FreeBASIC application
Replies: 17
Views: 2869

Re: Display Web Page with in FreeBASIC application

Hi everyone, is it possible to display a Webpage with in a FreeBASIC application? if so can some one provide some sample code Thanks Andy IupWebBrowser (WebKit/GTK+) http://webserver2.tecgraf.puc-rio.br/iup/en/ctrl/iupweb.html Ubuntu -> sudo apt-get libwebkitgtk-dev Example: ( author -> D.J.Peters)...
by WQ1980
Dec 09, 2015 12:08
Forum: Beginners
Topic: Anyone use ExifTool with Freebasic?
Replies: 5
Views: 728

Re: Anyone use ExifTool with Freebasic?

Maybe http://imtoolkit.sourceforge.net/ ?

Have header to FB
im.bi

Go to advanced search