Search found 1236 matches

by VANYA
Sep 16, 2017 4:05
Forum: Libraries
Topic: (SOLVED) IUPScintilla problem
Replies: 3
Views: 163

Re: IUPScintilla problem

Kuan Hsu wrote:If scintilla is not expand as we want, use iupRefresh to refresh our attributes setting


Thanks for the advice
by VANYA
Sep 15, 2017 6:12
Forum: Libraries
Topic: (SOLVED) IUPScintilla problem
Replies: 3
Views: 163

Re: IUPScintilla problem

I found this trick :)))))))))))))))))) For those who will face such a problem: All scintilla attributes should be set after the call and showing of the main dialog! That's how it works as it should: #include "crt.bi" #LibPath "." #include once "IUP/iup.bi" #include once...
by VANYA
Sep 14, 2017 19:20
Forum: Libraries
Topic: (SOLVED) IUPScintilla problem
Replies: 3
Views: 163

(SOLVED) IUPScintilla problem

Hi All! In the image below I showed: 1) In one line, I type 1 TAB (TAB size = 8 spaces on default) 2) In the second line I type 8 spaces Why such a difference in levels, they have to level off? http://s019.radikal.ru/i634/1709/fa/74bf09880642.png --------------------------------------------- And the...
by VANYA
Aug 28, 2017 3:15
Forum: General
Topic: Question about CDECL
Replies: 5
Views: 179

Re: Question about CDECL

Clear, thanks a lot for answers!
by VANYA
Aug 27, 2017 18:33
Forum: General
Topic: Question about CDECL
Replies: 5
Views: 179

Re: Question about CDECL

If don't specify CDECL for sub two the method will use the default calling convention. In any case it will be called accordingly from sub one. So to answer your question: it is basically not necessary to make sub two use CDECL in your example, but it probably depends on why you want to use CDECL at...
by VANYA
Aug 27, 2017 17:09
Forum: General
Topic: Question about CDECL
Replies: 5
Views: 179

Question about CDECL

Hi All! If the program has a function CDECL , but this function causes another function, then whether it is necessary to place the second function CDECL ? For example: sub two CDECL (p as any ptr) ' is it necessary to indicate here CDECL? end sub sub one CDECL (p as any ptr) dim as any ptr pTemp two...
by VANYA
Aug 25, 2017 5:09
Forum: Projects
Topic: WinFBE FreeBASIC Editor for Windows (Updated September 6, 2017)
Replies: 228
Views: 11709

Re: WinFBE FreeBASIC Editor for Windows (Updated August 23, 2017)

On my PC, compilation fails with the version 1.4.7 (works with version 1.4.6.1) I get: Compiler results: compiling FAILED: Error Code 1 Compiler Log File: Invalid command-line option, "Outils" I think this behavior is due to my compiler path that contains space characters: D:\Users\T00038...
by VANYA
Aug 24, 2017 4:03
Forum: Projects
Topic: WinFBE FreeBASIC Editor for Windows (Updated September 6, 2017)
Replies: 228
Views: 11709

Re: WinFBE FreeBASIC Editor for Windows (Updated Aug 20, 2017)

Looks like FB's OPEN PIPE command displays a console window which is annoying when compiling. I have re-coded the OPEN PIPE functionality using pure WinAPI and set the CreateProcess creation flag to CREATE_NO_WINDOW in order to hide the window. It seems to work well. VANYA, please let me know if it...
by VANYA
Aug 23, 2017 11:13
Forum: Projects
Topic: WinFBE FreeBASIC Editor for Windows (Updated September 6, 2017)
Replies: 228
Views: 11709

Re: WinFBE FreeBASIC Editor for Windows (Updated Aug 20, 2017)

Hi PaulSquires! I again raise the issue of the impossibility of compiling files containing non-Latin characters. Scanning the source code wxFBE , I found a simple and elegant way to compile without BAT files. Author wxFBE (MOD) don't bother to become BAT files, and introduced in the program is simpl...
by VANYA
Aug 21, 2017 12:15
Forum: General
Topic: <SOLVED> Iconv Linux how use?
Replies: 3
Views: 107

Re: Iconv Linux how use?

St_W wrote:Note that WString uses UCS-4 on Linux, see https://freebasic.net/wiki/wikka.php?wakka=KeyPgWstring

So you should be using UTF-32 as source-encoding (instead of UTF-16, which is used by FB on Windows).


Thank you very much!!!
by VANYA
Aug 21, 2017 10:59
Forum: General
Topic: <SOLVED> Iconv Linux how use?
Replies: 3
Views: 107

Re: Iconv Linux how use?

So something happened, but it is unclear where did the '0' in the rows. Who knows, tell me what's wrong in my code? #include "crt/iconv.bi" dim as wstring*30 ws= "Привет" ? ws ? dim as wstring ptr wstr0 = @(ws) dim as any ptr ic = iconv_open("UTF-8", "UTF-16" ...
by VANYA
Aug 21, 2017 9:38
Forum: General
Topic: <SOLVED> Iconv Linux how use?
Replies: 3
Views: 107

<SOLVED> Iconv Linux how use?

Hi All! How to use libiconv ? I tried so, but does not work: #include "crt/iconv.bi" dim as wstring ptr wstr0 = @("Hello") dim as wstring ptr wstr1 = @wstr0 dim as any ptr ic = iconv_open("UTF-8", "UTF-16" ) dim as zstring ptr psz0 = allocate(50) dim as zstrin...
by VANYA
Aug 20, 2017 7:29
Forum: Linux
Topic: GTK Example Drag&DROP files in the window?
Replies: 0
Views: 69

GTK Example Drag&DROP files in the window?

Hi All! Does anyone have an example DRAG&DROP files in to program ? Only interested in examples of using GTK. Please do not send me to the GNOME documentation, I'm there to death will try a bunch of stuff. If there is an example and do not feel sorry to lay out, be kind. If there is an example o...
by VANYA
Aug 17, 2017 5:37
Forum: Libraries
Topic: FLTK C for FreeBASIC Jan 09, 2017
Replies: 139
Views: 13083

Re: FLTK C for FreeBASIC Jan 09, 2017

Is it possible in FLTK to minimize the window and return it to its original state from the "minimize" ? Min- or maximizing a window is the job of the window manager triggered by the user if he/she click the min/max button. If you will do it self by code you have to use the Windows API or ...
by VANYA
Aug 12, 2017 6:46
Forum: Libraries
Topic: FLTK C for FreeBASIC Jan 09, 2017
Replies: 139
Views: 13083

Re: FLTK C for FreeBASIC Jan 09, 2017

Is it possible in FLTK to minimize the window and return it to its original state from the "minimize" ?

Go to advanced search