Search found 88 matches

by wallyg
Feb 21, 2013 21:25
Forum: General
Topic: Question on "As Const" construct
Replies: 8
Views: 345

Re: Question on "As Const" construct

I am working on an old project and it has problems (have not checked them out yet) with 0.24 and the 3.x GTK binaries did not work either. I was too busy to try and find out why.

So I am using fbc 0.23 with the last 2.24 gtk stuff/

Oh yeah I have the most up to date windows 7 system.
by wallyg
Feb 21, 2013 19:59
Forum: General
Topic: Question on "As Const" construct
Replies: 8
Views: 345

Re: Question on "As Const" construct

This does not work. The VAR still declares strData as a Const gchar ptr and the use of strData still causes the strlen(strData) statement to generate the error. I think the problem comes from the GTK definition. I do not think the function should be declared with CONST result. The returned value is ...
by wallyg
Feb 21, 2013 19:09
Forum: General
Topic: Question on "As Const" construct
Replies: 8
Views: 345

Question on "As Const" construct

I have a GTK function defined as follows: DECLARE FUNCTION gtk_entry_get_text(BYVAL AS GtkEntry PTR) AS CONST gchar PTR However if I do the following Dim strData as gchar ptr strData = gtk_entry_get_text(gtkentry) i = strlen(strData) then I get an invalid assignment on line 2 If I change the dim sta...
by wallyg
Nov 19, 2012 15:12
Forum: Libraries
Topic: GDKATOM error in GTK program
Replies: 4
Views: 683

Re: GDKATOM error in GTK program

Thank you, I will try this out tonight after work and let you know how it goes. Please keep me informed of progress with 3.4... If I have some time later in December I might give 3.4 a try if you think there are good conversions for windows.
by wallyg
Nov 19, 2012 2:06
Forum: Libraries
Topic: GDKATOM error in GTK program
Replies: 4
Views: 683

Re: GDKATOM error in GTK program

Thanks for the suggestion. However I am sorry but there is only one parameter in function "gtk_clipboard_get" Quoting from GTK 2.24 documentation it says GtkClipboard * gtk_clipboard_get (GdkAtom selection); Returns the clipboard object for the given selection. See gtk_clipboard_get_for_di...
by wallyg
Nov 18, 2012 21:17
Forum: Libraries
Topic: GDKATOM error in GTK program
Replies: 4
Views: 683

GDKATOM error in GTK program

I am using FB 0.23 and 0.24. I cleared out and reloaded 0.24 and error still happens. I reduced large program to a small one the has the same error. #Include "gtk/GTK-2.24.bi" Dim cb As gtkclipboard Ptr cb = gtk_clipboard_get(GDK_NONE) I get the following response from FBEDIT running 0.23 ...
by wallyg
Nov 16, 2012 23:02
Forum: General
Topic: Question on behind the scenes storage management
Replies: 5
Views: 434

Question on behind the scenes storage management

I am trying to trace down a memory leak and had a question on String memory usage. Is there a definitive discussion somewhere. A simplified code sample of my question is Dim s as Zstring Ptr s = function returning Zstring pointer ... s = strptr( string expression) At this point does the system retur...
by wallyg
Aug 27, 2012 18:07
Forum: Libraries
Topic: Links..
Replies: 20
Views: 36315

Re: Links..

I tried to download Glade and got the following message from your links to it. An error has been encountered in accessing this page. 1. Server: gladewin32.sourceforge.net 2. URL path: /modules.php 3. Error notes: NONE 4. Error type: 404 5. Request method: GET 6. Request query string: name=Downloads ...
by wallyg
Feb 24, 2012 15:51
Forum: Windows
Topic: Canvas
Replies: 7
Views: 1451

Re: Links not working?

You can try Panoramic if you want a simple means to build GUI programs. See my articles in "Back 2 Basic": http://imortisoft.no-ip.org/b2b/?Issue_%231:Introduction_to_PANORAMIC http://imortisoft.no-ip.org/b2b/?Issue_%232:Using_DLLs_with_PANORAMIC http://imortisoft.no-ip.org/b2b/?Issue_%23...
by wallyg
Oct 29, 2011 20:26
Forum: Libraries
Topic: Updated GTK headers (GTK-2 and GTK-3)
Replies: 41
Views: 8547

Hi wallyg! Thanks for testing the headers and for your report. Sorry for your trouble. It seems that by any reason some old headers gets included and cause the duplicated definitions. I'll check this, although it isn't importand for the next FB release (since all old headers will get removed). It m...
by wallyg
Oct 29, 2011 14:22
Forum: Libraries
Topic: Updated GTK headers (GTK-2 and GTK-3)
Replies: 41
Views: 8547

Duplicated definitions in win7

Assuming C:\freebasic\, how are these files supposed to be installed after extraction so that the examples will compile with a minimum of hassle. There're several ways to do so. Here's an easy method (consuming HDD space): ⋅  make copies of your folders bin, examples, inc and lib inside C...
by wallyg
Oct 21, 2011 20:27
Forum: Libraries
Topic: Updated GTK headers (GTK-2 and GTK-3)
Replies: 41
Views: 8547

Assuming C:\freebasic\, how are these files supposed to be installed after extraction so that the examples will compile with a minimum of hassle. There're several ways to do so. Here's an easy method (consuming HDD space): ⋅  make copies of your folders bin, examples, inc and lib inside C...
by wallyg
Oct 01, 2011 17:42
Forum: Libraries
Topic: GTK-headers 2.22.0 for FreeBasic
Replies: 20
Views: 5692

First try GTK+ 2.22.0 and GladeToBac3.0.2 loading error

I have a basic skeleton Glade XML file and generic files produced by GladeToBac files and get the following error. C:\Program Files (x86)\FreeBASIC\fbc -g -s gui "SSS.bas" C:\PROGRA~2\FREEBA~1\bin\win32\ld.exe: cannot find -liconv I am sure I am missing some library but I cannot find any reference t...
by wallyg
Nov 21, 2010 16:36
Forum: General
Topic: Error in FreeBasic program before first line of code
Replies: 1
Views: 1058

Error in FreeBasic program before first line of code

This is probably not a FbEdit error but I am looking for something I can do in FbEdit to find the error. Any suggestions on how to proceed further would be appreciated. I put a breakpoint in FbEdit on the first line of code. I click on Debug/Run. FbEdit displays the first line, it highlights the lin...
by wallyg
Oct 30, 2010 7:13
Forum: Projects
Topic: GTK+tobac (Glade3 to FB code sketcher, GtkBuilder/libglade)
Replies: 42
Views: 11083

Thank you very much. It all seems to work now.

Again thank you for producing the FreeBasic version of GTK 2.22.

Do you know if a verison of Glade for 2.22 will produced or will the next version be for 3.0?

Go to advanced search