Search found 40 matches

by WQ1980
Feb 02, 2019 18:13
Forum: Libraries
Topic: iup+cd crash, how to fix?
Replies: 3
Views: 107

Re: iup+cd crash, how to fix?

oyster can destroy canvas can erase canvas Function redraw_cb Cdecl (ByVal ih As Ihandle Ptr) As Long Dim As cdCanvas Ptr cdcanvas=cdCreateCanvas(CD_IUP, ih) Dim As Integer ccw, cch ''cdCanvasActivate(cdcanvas) cdCanvasGetSize(cdcanvas, @ccw, @cch, NULL, NULL) cdCanvasForeground(cdcanvas, cdEncodeC...
by WQ1980
Jan 14, 2019 17:32
Forum: Libraries
Topic: No german umlauts with libcurl
Replies: 25
Views: 758

Re: No german umlauts with libcurl

In my libcurl examples url with https does not work
url with http work

Maybe
https://en.wikipedia.org/wiki/Punycode

converter url to punycode:
https://www.punycoder.com/
by WQ1980
Jan 14, 2019 16:51
Forum: Libraries
Topic: No german umlauts with libcurl
Replies: 25
Views: 758

Re: No german umlauts with libcurl

libcurl in general works fine here, but if I call a URL containing german umlauts (eg. https://de.wikipedia.org/wiki/Spezial:Zuf%C3%A4llige_Seite ) the receive buffer remains empty (seems to be a general problem with UTF-8-coded URLs). Does anyone know how to get it working? Or maybe another librar...
by WQ1980
Dec 13, 2018 11:30
Forum: Tips and Tricks
Topic: Insert/Replace String procedures
Replies: 38
Views: 1078

Re: Insert/Replace String procedures

Code: Select all

Dim Content As String
Dim ContentNew As ZString Ptr
Content="D:\Desktop\0.bmp"

ContentNew=ReplaceAllJ(Content, "0", "1")
?*ContentNew '' -> D:\Desktop\1.bmp#Щkи6


returns a damaged string
if len(searchstring) = len(replacestring) ...
by WQ1980
Dec 13, 2018 11:24
Forum: Projects
Topic: FreeBasic IDE-poseidonFB(Update 2018.12.09)
Replies: 964
Views: 85733

Re: FreeBasic IDE-poseidonFB(Update 2018.10.27)

Kuan Hsu wrote:Done at rev0.407, "Preference" -> "Editor" -> "Auto en-Keyboard Layout" -> "ON"(Windows only), next time start poseidonFB will force english layout~

Thanks!
by WQ1980
Dec 08, 2018 16:28
Forum: Projects
Topic: FreeBasic IDE-poseidonFB(Update 2018.12.09)
Replies: 964
Views: 85733

Re: FreeBasic IDE-poseidonFB(Update 2018.10.27)

Haha, my system language is "Traditional Chinese", I use ctrl+space to change between different language. Let me check how "LoadKeyboardLayout" and "ActivateKeyboardLayout" work. freebasic code example: #Include Once "IUP/iup.bi" #Ifdef __FB_WIN32__ #Include ...
by WQ1980
Nov 27, 2018 12:37
Forum: Projects
Topic: FreeBasic IDE-poseidonFB(Update 2018.12.09)
Replies: 964
Views: 85733

Re: FreeBasic IDE-poseidonFB(Update 2018.10.27)

Kuan Hsu

Maybe add to the editor default input language setting when program starts - English (at least Windows, WinApi function LoadKeyboardLayout, ActivateKeyboardLayout etc.)?

This is important if the system language is not English.
Start to write code - input is not English...
by WQ1980
Aug 07, 2018 11:10
Forum: Libraries
Topic: Question about FLTK and FreeBASIC
Replies: 18
Views: 2062

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: 5969

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 2018.12.09)
Replies: 964
Views: 85733

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 2018.12.09)
Replies: 964
Views: 85733

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: 788

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: 644

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...

Go to advanced search