Search found 64 matches

by wallyg
Mar 23, 2017 21:53
Forum: Projects
Topic: FbDebugger aborts before starting to debug executable
Replies: 1
Views: 285

FbDebugger aborts before starting to debug executable

I am using an up to date windows 7 machine. I have the Aug 2016 version of the debugger. I am using 1.0.5 of FB. I am also using GTK 3.8 and the GladeToBac program. As a standalone the executable works fine. When using the debugger on the same executable, it starts to the load file, takes about 15 s...
by wallyg
Aug 14, 2016 22:39
Forum: General
Topic: Question on usage of Virtual
Replies: 5
Views: 287

Re: Question on usage of Virtual

Thank you. I guess my documentation was quite out of date. Never noticed that fact. So if I read that correctly, if in my above example where P is a pointer to Display (bottom most level), if I want to delete the Frame (top level) that is pointed to by it, I have to put Virtual on each of the Destru...
by wallyg
Aug 14, 2016 18:13
Forum: General
Topic: Question on usage of Virtual
Replies: 5
Views: 287

Re: Question on usage of Virtual

Thank you for your advice. I will place the Virtual keyword in each Declare of the routine redraw.
by wallyg
Aug 13, 2016 19:57
Forum: General
Topic: Question on usage of Virtual
Replies: 5
Views: 287

Question on usage of Virtual

Can someone explain why this is not working the way I expect from what I read in the documentation Type Display Extends Object as Display Ptr ObjectType Declare virtual sub redraw End Type Private sub Display.redraw ... end sub Type Container Extends Display Declare sub redraw end type Private sub C...
by wallyg
Jul 18, 2016 18:33
Forum: General
Topic: Question on ByVal parameters
Replies: 9
Views: 415

Re: Question on ByVal parameters

Thank you everyone who checked this out and replied. I have taken the advice given here and will not try to change the ByRef vars passed to a routine. As far as I am concerned this item is closed. However it does seem to have pointed out an error in FB 1.05. I hope it has been reported through the p...
by wallyg
Jul 13, 2016 19:10
Forum: General
Topic: Question on ByVal parameters
Replies: 9
Views: 415

Question on ByVal parameters

I have a routine with several parameters that are passed by value. I gather that a temporary variable is created in the calling routine and the address of this passed after setting it to the value to pass. Given that this is true, can I then change the value of this byval parameter in the routine wi...
by wallyg
Jun 27, 2016 0:05
Forum: General
Topic: Using Screen Event I am missing some events
Replies: 7
Views: 453

Re: Using Screen Event I am missing some events

Thanks, I hacked my code apart and put the bulk of the Mouse press event into a third thread. This may have solved the problem. I seem to be getting all the events now. I need to study this more and re-write this whole section of code. The hacked code is not working right but at least I am finally g...
by wallyg
Jun 26, 2016 22:50
Forum: General
Topic: Using Screen Event I am missing some events
Replies: 7
Views: 453

Re: Using Screen Event I am missing some events

An update. I rewrote the Screen event loop and made it a thread. Sub wui_Event_Thread(Byval param As Any Ptr) Dim As FB.event event Do If ScreenEvent(@event) Then wui_APP.wui_Pending(wui_APP.wui_Pending_Out).Event = event wui_APP.wui_Pending_Out = (wui_APP.wui_Pending_Out+1) Mod 64 EndIf If wui_APP....
by wallyg
Jun 26, 2016 18:45
Forum: General
Topic: Using Screen Event I am missing some events
Replies: 7
Views: 453

Re: Using Screen Event I am missing some events

The code in question consists of a do statement, followed by a Select statement followed by 12 case statements each followed by a subroutine call, ending with an End Select statement. a Sleep 1 statement and finally a Loop statement. A total of about 30 lines. The problem is the subroutines being ca...
by wallyg
Jun 26, 2016 11:22
Forum: General
Topic: Using Screen Event I am missing some events
Replies: 7
Views: 453

Re: Using Screen Event I am missing some events

Thank you very much for your response. I really appreciate all the great people in this forum that respond so quickly and try to help out with us little guy's problems. I have downloaded your routines and examined them, but as I said I have never used any threading before and have some questions. If...
by wallyg
Jun 25, 2016 0:18
Forum: General
Topic: Using Screen Event I am missing some events
Replies: 7
Views: 453

Using Screen Event I am missing some events

I have a loop using Screen Event (with a Sleep 1 at end of loop) on WIndows 7 using FB 1.04. I put print statements in loop for all mouse events. I get the following stream. 18685.79860036349 Mouse Move 487 659 18685.82970314896 Mouse Move 487 658 18685.95463062344 Mouse Move 487 657 18686.016956344...
by wallyg
Jun 02, 2016 10:28
Forum: Projects
Topic: Charset2FBFont
Replies: 19
Views: 2545

Re: Charset2FBFont

Thanks, I was not planning on selling anything, just putting together a library for some friends to use. Thanks for the list. I was planning on doing some research to find a couple of fonts that were in the public domain for use. If anyone knows of fonts that can be used with your software that are ...
by wallyg
Jun 01, 2016 20:11
Forum: Projects
Topic: Charset2FBFont
Replies: 19
Views: 2545

Re: Charset2FBFont

Thank you for this fine product.

I am going to use it for one of the projects I am working on. I see you include the zlib and freetype license. Do you have a license I should include for this library or is the zlib and freetype license enough.
by wallyg
May 30, 2016 19:44
Forum: General
Topic: Error detection within a Constructor
Replies: 9
Views: 531

Re: Error detection within a Constructor

Many thanks to all that have responded to my request. Yes it is true that no matter what I do someone can come up with a way of playing with my internal data. But in this case, I was just looking for a way to prevent a user from accidentally using the New operator and having the system partial work ...
by wallyg
May 30, 2016 9:27
Forum: General
Topic: Error detection within a Constructor
Replies: 9
Views: 531

Re: Error detection within a Constructor

Thank you all for your suggestions, the static create function pretty much does the job. If I do this, what is the best way to prevent the user of my routines from ever using "New myUDT" other than documentation. I tried making the default CONSTRUCTOR "Private" and even "Pro...

Go to advanced search