Search found 484 matches

by aloberoger
Aug 08, 2020 19:50
Forum: Projects
Topic: MyFbFramework - My FreeBasic Framework
Replies: 8
Views: 837

Re: MyFbFramework - My FreeBasic Framework

I'm not asking to change processmessage. the advantage is this: #Include Once "../guis.1.0.bi" Type CFlexGridCombo extends CFORM public: Declare Constructor Declare Destructor As CComboBox m_cCombo As CFlexGrid m_FlexGrid Declare Static Sub Combo1_SelChange(BYREF Sender As object) Declare...
by aloberoger
Aug 07, 2020 16:24
Forum: Projects
Topic: MyFbFramework - My FreeBasic Framework
Replies: 8
Views: 837

Re: MyFbFramework - My FreeBasic Framework

a suggestion you have to make some virtual functions in Form class, here is an example : type Form ... Declare virtual Sub Form_MouseUp (ByRef sender As OBJECT,MouseButton As Integer,Shift As Integer,x As Integer,y As Integer) end type Sub Form.Form_MouseUp(ByRef sender As OBJECT,MouseButton As Int...
by aloberoger
Mar 09, 2020 21:05
Forum: Tips and Tricks
Topic: UDT: Dynamic Type
Replies: 26
Views: 1443

Re: UDT: Dynamic Type

To be exhaustive, it would be also necessary to define all the non-member operators useful for each dynamic type. why don't you implement a copy constructor? Declare Constructor (Byval rhs As byvarDT) - For my by-var-variant: Type byvarDT '' Dynamic Type (by variable) Public: Declare Constructor ()...
by aloberoger
Dec 27, 2019 20:31
Forum: Projects
Topic: VisualFBEditor - IDE for FreeBasic
Replies: 116
Views: 17012

Re: VisualFBEditor - IDE for FreeBasic

Here is a reel designer for FB.

some observations:
-how to assign once the path of the compiler?
-sometimes the assignment of the main project file does not work. how to procees
by aloberoger
Nov 07, 2019 19:51
Forum: Beginners
Topic: How to include arrays in type/class
Replies: 14
Views: 6050

Re: How to include arrays in type/class

thanks

sometimes something is next to us, but we think differently
by aloberoger
Nov 06, 2019 14:46
Forum: Beginners
Topic: How to include arrays in type/class
Replies: 14
Views: 6050

Re: How to include arrays in type/class

on that one, I know what redim means, it was you who said that:
The arrays 'rndict2.prognums()' and 'rndict1.prognames()' are not sized.

redim rndict1.prognums(1)
redim rndict2.prognames(2)

means the opposite of what you said
by aloberoger
Nov 05, 2019 20:12
Forum: Beginners
Topic: How to include arrays in type/class
Replies: 14
Views: 6050

Re: How to include arrays in type/class

according to fxm
The arrays 'rndict2.prognums()' and 'rndict1.prognames()' are not sized.
(only 2 over 4)



? what does this represent

redim rndict1.prognums(1)
redim rndict2.prognames(2)
by aloberoger
Nov 03, 2019 6:22
Forum: Beginners
Topic: How to include arrays in type/class
Replies: 14
Views: 6050

Re: How to include arrays in type/class

? Why a bug type rndict public: prognames(Any) as string prognums(Any) as integer end type Dim as rndict rndict1, rndict2 redim rndict1.prognums(1) redim rndict2.prognames(2) rndict1.prognums(0)=300 rndict2.prognums(0)=200 rndict1.prognames(1)="Azerty" rndict2.prognames(1)="Qwerty&quo...
by aloberoger
Sep 19, 2019 22:45
Forum: Community Discussion
Topic: fb 1.07 tests
Replies: 54
Views: 19342

Re: fb 1.07 tests

1.07 release is good but 1.07.1 release is expected This is the first time I've created a library that can be used by both unicode and ansicode. I chose to create two libraries one for UNICODE and one for ANSICODE the GuisAU.bi file specifies it well by: #Ifdef UNICODE #Inclib "Guisu" #Els...
by aloberoger
Sep 11, 2019 17:34
Forum: Community Discussion
Topic: fb 1.07 tests
Replies: 54
Views: 19342

Re: fb 1.07 tests

Coderjeff Wrote What IDE/tool are you using to compile? fbedit and fbide I still want to remember that with FB1.5 that was correct. like this oder example Constructor Comobject (ByRef varSrc As Const VARIANT) Export vt = VT_EMPTY InternalCopy (@Cast (VARIANT,varSrc)) End Constructor now you have to...
by aloberoger
Sep 10, 2019 19:37
Forum: Community Discussion
Topic: fb 1.07 tests
Replies: 54
Views: 19342

Re: fb 1.07 tests

[quote][/quote]
here is some code that seems to create a static library, but in fact just creates an asm file.
compile the file mapworldtopixel.bas
http://s000.tinyupload.com/?file_id=55239919722881967242
by aloberoger
Sep 08, 2019 16:30
Forum: Community Discussion
Topic: fb 1.07 tests
Replies: 54
Views: 19342

Re: fb 1.07 tests

coderjeff wrote Does the asm file really end this way? If that's true, then fbc is aborting without error. Which would be really strange. Maybe an internal size limit? What happens when you remove other procedures, but keep that one? What if you only have that one and the smallest number of support...
by aloberoger
Sep 07, 2019 9:04
Forum: General
Topic: strptr bug or not?
Replies: 1
Views: 1669

strptr bug or not?

#Include Once "windows.bi" #Ifdef UNICODE Declare Function StringtoPointer(ByVal s As String)As WString Ptr #Else Declare Function StringtoPointer(ByVal s As String)As ZString Ptr #EndIf Dim As String s ="Hello Freebasic 1.07.0" Dim As ZString Ptr zz=StringtoPointer(s) Print &qu...
by aloberoger
Sep 04, 2019 19:39
Forum: Community Discussion
Topic: fb 1.07 tests
Replies: 54
Views: 19342

Re: fb 1.07 tests

CoderJeff wrote 3) Now use the same 1.05 library with test compiled in fbc 1.06 (or 1.07): OUTPUT: long integer See the difference? It gives the appearance of working, but might actually be calling wrong procedures. Depends on the overloads defined and the complexity of the differences if you ever ...
by aloberoger
Sep 04, 2019 18:56
Forum: Community Discussion
Topic: fb 1.07 tests
Replies: 54
Views: 19342

Re: fb 1.07 tests

thank you for your explanations. here is the command used and the output: C:\Program Files (x86)\FreeBASIC1.07\fbc -lib -v "GUIS.1.0.bas" "GUIS.1.0.rc" -x "libGUIS.1.0.a" FreeBASIC Compiler - Version 1.07.0 (08-25-2019), built for win32 (32bit) Copyright (C) 2004-2019 T...

Go to advanced search