Search found 552 matches

by MOD
Sep 28, 2015 18:15
Forum: Projects
Topic: FreeBASIC port of Erin Catto's Box2D_Lite physics engine
Replies: 14
Views: 2719

Re: FreeBASIC port of Erin Catto's Box2D_Lite physics engine

I didn't check the whole project but simply created some dummy classes and tried to translate it more or less to a mdTypes version: #Include "md/util/mdMap.bi" #Include "md/util/mdList.bi" Type Body Extends Object As Single invMass End Type Type Contact Extends Object End Type Ty...
by MOD
Sep 26, 2015 14:26
Forum: Beginners
Topic: UDT = UDT
Replies: 11
Views: 1430

Re: UDT = UDT

I guess the best way for deep copying ist to serialize and deserialize objects. In FB it isn't that easy. I tried to find my way for lists and maps in mdCollectionsHelper.
by MOD
Sep 17, 2015 16:42
Forum: Projects
Topic: wxFBE, editor for both Windows and Linux
Replies: 261
Views: 53152

Re: wxFBE, editor for both Windows and Linux

wxFBE uses mdLanguage for multi language capabilities and as mdLanguage uses variadic methods, it won't work with the current x86_64 output of the compiler (variadic methods are not supported yet). The editor..or rather, the designer uses mdTypes. mdCollectionsHelper is part of mdTypes and allows to...
by MOD
Sep 02, 2015 17:28
Forum: Tips and Tricks
Topic: Keyed Linked List / Hash Table (32-bit and 64 bit)
Replies: 11
Views: 2088

Re: Keyed Linked List / Hash Table (32-bit and 64 bit)

You could also use some macro hacks to allow a "templated version" like I do in mdTypes.
by MOD
Jul 23, 2015 15:31
Forum: Community Discussion
Topic: Version 1.03.0
Replies: 39
Views: 4655

Re: Version 1.03.0

It was registered, as expected, as false positive. One of the next signature updates should fix the problem.
by MOD
Jul 22, 2015 16:32
Forum: Community Discussion
Topic: Version 1.03.0
Replies: 39
Views: 4655

Re: Version 1.03.0

I've submitted the x86_64 GoRC.exe as false positive.
by MOD
Jul 01, 2015 9:04
Forum: General
Topic: Basic GUI designer
Replies: 34
Views: 2814

Re: Basic GUI designer

D.J.Peters never replied, so no.
by MOD
Jul 01, 2015 7:31
Forum: General
Topic: Basic GUI designer
Replies: 34
Views: 2814

Re: Basic GUI designer

wxFBE has a visual form designer, too. It emits XML (just to save a form for later changes) and FB code for wx-c and fltk. Furthermore, it supports emitter plugins, so one can add new GUI frameworks easily.
by MOD
Jun 04, 2015 18:07
Forum: General
Topic: The WORD() function?
Replies: 10
Views: 892

Re: The WORD() function?

#Include Once "md/lang/mdString.bi" Dim As mdString colorString = "black,blue,green,aqua,red,purple,yellow,white,grey,light blue,light green,light aqua,light red,light purple,light yellow,bright white" Dim As String colors() colorString.split(colors(), ",") 'split stri...
by MOD
Mar 31, 2015 14:28
Forum: Community Discussion
Topic: Iterating over fields of UDT
Replies: 8
Views: 1150

Re: Iterating over fields of UDT

You are asking for reflection.
by MOD
Mar 25, 2015 10:22
Forum: Projects
Topic: wxFBE, editor for both Windows and Linux
Replies: 261
Views: 53152

Re: wxFBE, editor for both Windows and Linux

Hey D.J.Peters. I'd like to improve the whole thing. I tried to generate widgets, which looks similar to the wx-c version. Could you test the current code output (I know it's still buggy etc.) for all widgets and give me better version? Please also test the generated events. E. g. your code uses FL_...
by MOD
Mar 23, 2015 19:45
Forum: Projects
Topic: wxFBE, editor for both Windows and Linux
Replies: 261
Views: 53152

Re: wxFBE, editor for both Windows and Linux

@Lothar: It would be easier if you would send the correct version for a buggy version so I don't have to play around with fltk. @Frontier: mdLanguages uses variadic parameter lists. This is not supported in the x86_64 version of FreeBASIC. For the other problem: You also need mdTypes to compile the ...
by MOD
Feb 20, 2015 18:26
Forum: Projects
Topic: wxFBE, editor for both Windows and Linux
Replies: 261
Views: 53152

Re: wxFBE, editor for both Windows and Linux

Add a "Print 123" after "''add event handler code here" and rerun your test. It works just fine here, although the button has no click-animation (not sure why, maybe you can figure it out).
by MOD
Jan 21, 2015 16:51
Forum: General
Topic: Any workaround for friend class access control ?
Replies: 10
Views: 911

Re: Any workaround for friend class access control ?

Assumed, that you know the exact structure, you can use the object pointer address and add the offset of the other members in the structure to get to the address, where the value lies. You may need to add an additional sizeof(ptr) to skip the hidden vtable.

Go to advanced search