My bad. I got the lastest changes but didn't apply them.......
So confirmed now.
Search found 1771 matches
- Apr 05, 2024 17:07
- Forum: Community Discussion
- Topic: Freebasic 1.20.0 Development
- Replies: 270
- Views: 26079
- Apr 05, 2024 15:08
- Forum: Community Discussion
- Topic: Freebasic 1.20.0 Development
- Replies: 270
- Views: 26079
Re: Freebasic 1.20.0 Development
Hello Xusinboy,
Compiled with gcc and gas64. No warning and no crash.
edited :
With last daily build 32bit --> warning and crash
Compiled with gcc and gas64. No warning and no crash.
edited :
With last daily build 32bit --> warning and crash
- Mar 29, 2024 9:31
- Forum: Beginners
- Topic: array initialization
- Replies: 8
- Views: 444
Re: array initialization
Good find. I didn'tt think about string * N
- Mar 28, 2024 9:02
- Forum: Beginners
- Topic: array initialization
- Replies: 8
- Views: 444
Re: array initialization
- Not sure you can use const with array. - Use the array as parameter : dim fruitname(0 to 2) as string => {"apple", "orange", "banana"} sub s1(fruitname2() as string) ? fruitname2(0) '''No,failed:Variable not declared,furitname in 'fruitname(0)' ? fruitname2(1) '''No,f...
- Mar 23, 2024 10:56
- Forum: Documentation
- Topic: SmartPointer_UDTname_ segmentation violation
- Replies: 10
- Views: 1014
Re: SmartPointer_UDTname_ segmentation violation
Maybe this change : https://github.com/freebasic/fbc/commit/8376250cd7dad11d90cd70bae87b99a66ea84827 There is this call just before printinfo : call _ZN17SMARTPOINTER_ROOTcvP4ROOTEv Returned value is used as parameter. A cast : Operator SmartPointer_##_UDTname_.Cast () As _UDTname_ Ptr Return This.p...
- Mar 19, 2024 10:56
- Forum: Community Discussion
- Topic: Bugs
- Replies: 115
- Views: 21601
Re: Bugs
First call address of P Second call address of g sub test(byref s as integer ptr) print __function__,s dim as integer k s=@k end sub dim as integer g=2024 dim as integer ptr p=@g print " Original pointer value "; p,g test(p) print "Pointer value after sub "; p,g p=@g print "...
- Mar 17, 2024 15:57
- Forum: Windows
- Topic: How to color text created by CreateWindowExa
- Replies: 18
- Views: 922
Re: How to color text created by CreateWindowExa
I can help you for richtextbox. I used it in a previous version of fbdebugger to display the code source of debugged programs. Now it's Scintilla component, easier and multi OS. Yes, please use the code I posted above to add the necessary statements using richtextbox to make the two lines have diff...
- Mar 16, 2024 16:45
- Forum: Windows
- Topic: Gui calculator
- Replies: 17
- Views: 1384
Re: Gui calculator
- GetDlgItemText expects a string ptr. And same for SetDlgItemText - You should also add a cast in createwindow to avoid warnings. eg cast(HMENU, IDC_NUM1) - I added a 'case else' for select operation : default addition otherwise result zero ' Freebasic test code, 16-03-2024 ' calculator gui #includ...
- Mar 15, 2024 22:10
- Forum: Windows
- Topic: How to color text created by CreateWindowExa
- Replies: 18
- Views: 922
Re: How to color text created by CreateWindowExa
I can help you for richtextbox. I used it in a previous version of fbdebugger to display the code source of debugged programs.
Now it's Scintilla component, easier and multi OS.
Now it's Scintilla component, easier and multi OS.
- Mar 15, 2024 20:11
- Forum: Windows
- Topic: How to color text created by CreateWindowExa
- Replies: 18
- Views: 922
Re: How to color text created by CreateWindowExa
I should have looked at your code more carefully.
I interpreted a text of 2 lines and in fact it's 2 texts of one line
I interpreted a text of 2 lines and in fact it's 2 texts of one line
- Mar 15, 2024 13:00
- Forum: Windows
- Topic: How to color text created by CreateWindowExa
- Replies: 18
- Views: 922
Re: How to color text created by CreateWindowExa
As I wrote use richtextbox control. With that you can define font/size/color for each line.
- Mar 15, 2024 10:50
- Forum: Windows
- Topic: How to color text created by CreateWindowExa
- Replies: 18
- Views: 922
Re: How to color text created by CreateWindowExa
Not sure you can do that in simple textbox. It's ok to change the color for all the lines.
Use richtextbox control. Or search for a library which has this feature.
Use richtextbox control. Or search for a library which has this feature.
- Mar 09, 2024 15:38
- Forum: Linux
- Topic: FreeBASIC broken following OS upgrade; generates problematic .asm files...?
- Replies: 21
- Views: 2230
Re: FreeBASIC broken following OS upgrade; generates problematic .asm files...?
Hi,
I get the file but can you show the error message with the line number.
I get the file but can you show the error message with the line number.
- Mar 08, 2024 9:38
- Forum: Community Discussion
- Topic: Freebasic 1.20.0 Development
- Replies: 270
- Views: 26079
Re: Freebasic 1.20.0 Development
When try to compile below examples,the recent fbc64.exe version 1.2.0 crashed during compiling under windows 10 64bit,but fbc64 version 1.1 is fine. Are you sure of the working version ? with Version 1.10.1 (2023-12-24), I get the crash. The issue seems to come with these 2 files #include "tex...
- Mar 04, 2024 10:02
- Forum: Projects
- Topic: Gas64 (no more use of gcc, only gas) WDS / LNX
- Replies: 494
- Views: 109230
Re: Gas64 (no more use of gcc, only gas) WDS / LNX
Thank you for the report and the help you gave me via discordXusinboy Bekchanov wrote: ↑Mar 04, 2024 8:00 After the latest changes in the compiler, the program no longer crashes in gas64, thank you very much.