Search found 14 matches

by CFreBasic
May 13, 2016 3:30
Forum: Libraries & Headers
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 435
Views: 249905

Re: FLTK C for FreeBASIC.

*jdebord: i have both .exe, the problem was with dlltool, that returns errors like: "syntax error in def file".... and so.
I will try removing the first line as you say.

*Joshy: and thanks, for the quick answer.
by CFreBasic
May 12, 2016 5:51
Forum: Libraries & Headers
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 435
Views: 249905

Re: FLTK C for FreeBASIC.

Tested...and...IT WORKS! :-) And yes, the "key" was STATIC. And thanks, D.j.peters for the difference with Set and Copy As request D.j.peters, could you post with the .Dll in the first post the "static" libraries for 32 and 64.dll? (the "...dll.a " ) I have a lot of pro...
by CFreBasic
May 10, 2016 3:44
Forum: Libraries & Headers
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 435
Views: 249905

Re: FLTK C for FreeBASIC.

Thanks to all, for your quick response.
In this days, i will check the code Foneo. Thanks for the explanation.
As i see, the "key" solution is: Static ??.
I must test it....
Thanks again.
by CFreBasic
May 09, 2016 6:25
Forum: Libraries & Headers
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 435
Views: 249905

Re: FLTK C for FreeBASIC.

Hi, i have some problem to show the value of a variable. (FB 1.05, and last FLTK) #Include "fltk-c.bi" Dim Shared As Fl_Window Ptr Windw1 Dim Shared as Fl_Button Ptr ButtonTEST Sub Click_ButtonTEST Cdecl (widget As FL_Widget Ptr) 'Dim TituloA as zstring ptr 'Dim TituloB as zstring 'TituloB...
by CFreBasic
Dec 23, 2015 1:30
Forum: Archive
Topic: FLTK 1.3.x C Wrapper (obsolete)
Replies: 753
Views: 172002

Re: FLTK 1.3.3 C Wrapper Windows/Linux 32/64-bit.

Now works Perfect. you are a genius. Many thanks Joshy. With "Fl_ImageDelete" (in previous code): I did not use it, because I thought that its use was to eliminate the variable "img" and not the image stored in "Fl_Shared_ImageGet". One more question: When the image its...
by CFreBasic
Dec 22, 2015 0:38
Forum: Archive
Topic: FLTK 1.3.x C Wrapper (obsolete)
Replies: 753
Views: 172002

Re: FLTK 1.3.3 C Wrapper Windows/Linux 32/64-bit.

* Here, the full code... To see the problem, replace the images with others more bigger in pixels... #Include "fltk-c.bi" Dim Shared As Fl_Window Ptr VentT Dim Shared As Fl_Button Ptr Button_one Dim Shared As Fl_Button Ptr Button_two Dim Shared As Fl_Box Ptr Boxim Dim Shared As Fl_Image Pt...
by CFreBasic
Dec 20, 2015 21:58
Forum: Archive
Topic: FLTK 1.3.x C Wrapper (obsolete)
Replies: 753
Views: 172002

Re: FLTK 1.3.3 C Wrapper Windows/Linux 32/64-bit.

- The code work... at some time. Then, ... not. It tookme about an hour to try, test,.... But... still rise the ram. Even, loading the same image or another. - This is some of the code: Dim Shared As Fl_Window Ptr VentT Dim Shared As Fl_Box Ptr BoxIma Dim Shared As Fl_Image Ptr ImConScale Dim Shared...
by CFreBasic
Dec 19, 2015 21:24
Forum: Archive
Topic: FLTK 1.3.x C Wrapper (obsolete)
Replies: 753
Views: 172002

Re: FLTK 1.3.3 C Wrapper Windows/Linux 32/64-bit.

(sorry my english) * About: Load a picture (image-pic), destroy it of memory and load ANOTHER picture. * I was testing the code were load an image an Scale to a desired size. (the Scale is important) (this is only a part of the code) Fl_Register_Images() Fl_Shared_ImageGet("media/renata.gif&quo...
by CFreBasic
Mar 31, 2015 6:11
Forum: Beginners
Topic: Help, GTK and Win32: load .UI, change Label, and more....
Replies: 11
Views: 2353

Re: Help, GTK and Win32: load .UI, change Label, and more...

Sorry the big absence. Lot of work. Even in my spare time, I tested in differents PC the "problem" with GTK. Did you make the main window in the ui file "visible"? Or use gtk_widget_show_all() on it? All the properties in the ".ui" are "True". Even the "V...
by CFreBasic
Feb 11, 2015 5:55
Forum: Beginners
Topic: Help, GTK and Win32: load .UI, change Label, and more....
Replies: 11
Views: 2353

Re: Help, GTK and Win32: load .UI, change Label, and more...

Thanks for the info. I was trying with a fresh install of FB and GTK 3.10.4. Same result. Black screen, but (again) if i use code to create the window (butons, label, etc..): no problem. No errors, no log, nothing.... the load of the ".ui" (or .glade) file: fine. but, don´t show anything. ...
by CFreBasic
Feb 08, 2015 7:06
Forum: Beginners
Topic: Help, GTK and Win32: load .UI, change Label, and more....
Replies: 11
Views: 2353

Re: Help, GTK and Win32: load .UI, change Label, and more...

Sorry, i was busy in some family problem.... The "GTK+-bundle v3_8_2-20130704_win32-RC" was from a page of GTK (i dont remember right now) where lot of people are using it with no problem. (29mb, run-time and developer packages). As i see in http://win32builder.gnome.org/, there is other v...
by CFreBasic
Feb 06, 2015 22:39
Forum: Beginners
Topic: Help, GTK and Win32: load .UI, change Label, and more....
Replies: 11
Views: 2353

Re: Help, GTK and Win32: load .UI, change Label, and more...

GTK+-bundle v3_8_2-20130704_win32-RC1 Still searching for a solution.... Sounds like a problem in the libraries install. (Most likely a mismatch between GLib and GTK+ versions. On non-LINUX systems you get rare and bad error messages.) In QB64, they make a "Temp" directory with some "...
by CFreBasic
Feb 05, 2015 19:42
Forum: Beginners
Topic: Help, GTK and Win32: load .UI, change Label, and more....
Replies: 11
Views: 2353

Re: Help, GTK and Win32: load .UI, change Label, and more...

Thanks TJF, i was testing the GtkBuilder.bas, the problem.... the "window" (.UI file), load and all, but GTK don´t show anything. Just the CMD window (the black window, the "console") and shut down. I tested using "sleep" in diferents parts of the code: the CMD just sho...
by CFreBasic
Feb 01, 2015 21:48
Forum: Beginners
Topic: Help, GTK and Win32: load .UI, change Label, and more....
Replies: 11
Views: 2353

Help, GTK and Win32: load .UI, change Label, and more....

Hi. (sorry my english) Starting with freebasic. (came from Qbasic, QuickBasic, Visual Basic....) Some questions: (not only an answer, but with a code example, please) 1)- I have my "file.ui" done. I know how to load a ".glade", but: how to load a ".ui" with Gtk? 2)- If ...