Search found 79 matches

by wallyg
Jun 01, 2018 6:02
Forum: General
Topic: Losing memory because of String usage
Replies: 21
Views: 427

Re: Losing memory because of String usage

Thank you all for trying to help. However given that this is a very large program almost 200,000 lines long and the best part is that it is working correctly. I do not want to make wholesale changes to my nearly 50 year programming style. I asked a simple question ( I am sorry I gave an overly simpl...
by wallyg
May 31, 2018 20:51
Forum: General
Topic: Losing memory because of String usage
Replies: 21
Views: 427

Re: Losing memory because of String usage

Thank you for your response. I have never looked into polymorphism or virtual functions. And overriding the destructor is something I need to think about. This was just a simple example. I have some structures that are many extend levels deep and trying to override and take care of the consequences ...
by wallyg
May 31, 2018 17:54
Forum: General
Topic: Losing memory because of String usage
Replies: 21
Views: 427

Losing memory because of String usage

As my program was running, I noticed the amount of memory used kept going up. After a long time tracing down all "Allocate" memory usage and fixing the holes, it still kept going up. I think I have tracked it down to the following situation. type xyz1 extends sysObject ... As String name ....
by wallyg
May 20, 2018 23:02
Forum: Libraries
Topic: Problem with GTK and new machine
Replies: 8
Views: 322

Re: Problem with GTK and new machine - RESOLVED

I have reloaded everything from scratch. Reinstalled GTK 3.22 via MSYS2 (32 bit version). Putting the def & lib directories on the path statement worked in the GTK 2 days and early 3.x days (years and years ago). It does not work for 3.22, I get the list of errors as described in the start of th...
by wallyg
May 20, 2018 22:38
Forum: Libraries
Topic: GladeToBac question
Replies: 8
Views: 240

Re: GladeToBac question

You obviously do not know how GladeToBac works. The code it generates uses GTKBUILDER. It is the auxiliary things it does to supplement GTKBUILDER that is why it is a great program to use. It reduces my work by 70%+ and most importantly my error rate by at least that much. And yes GTKBUILDER is a gr...
by wallyg
May 20, 2018 22:33
Forum: Libraries
Topic: GladeToBac question
Replies: 8
Views: 240

Re: GladeToBac question

for the signal button_release, GladeToBac generates a prototype with two args (widget,user-data) the documentation says 3 args (widget,gdkevent,user_data). If one signal prototype is wrong, how many others that I have not looked into in detail are wrong. The entire set of signals need to be checked ...
by wallyg
May 20, 2018 17:17
Forum: Libraries
Topic: GladeToBac question
Replies: 8
Views: 240

Re: GladeToBac question

Yes it looks like GTK 3.0. The world is up to 3.22 and many many changes have been made and the definitions in GladeToBac are wrong in places for current system. I think it reflects GTK as it was in 2012.

Wally
by wallyg
May 20, 2018 7:57
Forum: Libraries
Topic: GladeToBac question
Replies: 8
Views: 240

Re: GladeToBac question

GladeToBac has used this method for as long as I have used it. It however also automatically generates declarations for each widget so that you can reference that widget in your source code with out having to change your declarations every thing you add/subtract widgets from your model. It also auto...
by wallyg
May 19, 2018 20:43
Forum: Libraries
Topic: GladeToBac question
Replies: 8
Views: 240

GladeToBac question

I was just wondering if GladeToBac will ever be updated to meet the new GTK versions. The version that I got from the download site has some signal processors with the wrong argument lists (widget - button press is generated with two arguments, but documentation specifies 3 as an example). Thanks Wa...
by wallyg
May 19, 2018 20:39
Forum: Libraries
Topic: Problem with GTK and new machine
Replies: 8
Views: 322

Re: Problem with GTK and new machine

Finally I got GTK 3.22 (the latest version) to work properly??? The program seems to work. Some routines are not in the gtk.bi that comes with the standard FB download (it is 3.16) - not unexpected since FB has not been updated for way over 2 years. I made so many changes, updates, reloads, ... I am...
by wallyg
May 17, 2018 1:37
Forum: Libraries
Topic: Problem with GTK and new machine
Replies: 8
Views: 322

Re: Problem with GTK and new machine

I checked out the file in the specified thread. Had to track down a missing #ENDIF in Pixbuf first. It loads ok, but if I try to execute it as a gtk 2 system, a missing file libgtk-win32-2.0-0.dll was not found. Trying the 3.2 version causes gtkbuilder to abort with a C++ error code.
by wallyg
May 17, 2018 0:21
Forum: Libraries
Topic: Problem with GTK and new machine
Replies: 8
Views: 322

Re: Problem with GTK and new machine

I checked the topic and it indicates that there is a set of files for gtk 3.2 from 2012. I will look in to that later, after I clean up the mess I have made trying this that and the other thing to make this work. It seems that gtk is probably no longer supported from the comments I have read. And th...
by wallyg
May 16, 2018 20:17
Forum: Libraries
Topic: Problem with GTK and new machine
Replies: 8
Views: 322

Re: Problem with GTK and new machine

I copied the files with names that matched the missing names and removed the extra "-0" off of the end of the name. So I had the original and modified names in the directory. Contents of both versions were the same. I then recompiled and original errors disappeared, but now I got the follo...
by wallyg
May 16, 2018 18:23
Forum: Libraries
Topic: Problem with GTK and new machine
Replies: 8
Views: 322

Re: Problem with GTK and new machine

The old machine failed and took the hard drive with it or the hard drive failed and took the machine with it. I had all my work backed up but did not bother to backup system files and I had installed libs like this as system files. I will try renaming the files correctly and let you know. I will get...
by wallyg
May 15, 2018 23:31
Forum: Libraries
Topic: Problem with GTK and new machine
Replies: 8
Views: 322

Problem with GTK and new machine

My old faithful 8 year old machine finally died and repairing it for the 3rd time did not seem reasonable, especially as the hard drive failed too. So I now have a brand spanking new Windows 10 machine. ( I cannot thank my wife enough for the allowing me to use such a large portion of our SS income ...

Go to advanced search