Search found 356 matches

by sancho3
Mar 08, 2019 23:17
Forum: General
Topic: (SOLVED) macro _WIN32_WINNT return wrong
Replies: 11
Views: 2497

Re: macro _WIN32_WINNT return wrong

FBEdit on Windows 7
confirm &h502.
by sancho3
Feb 28, 2019 21:30
Forum: General
Topic: Closing Child window - winapi Case WM
Replies: 8
Views: 2446

Re: Closing Child window - winapi Case WM

I think the problem here is that you are creating an FBGFX screen which is not a child of your api windows. At least it is not directly,.
For the button command you should be able to just use the command Screen 0 to close the graphics window.
by sancho3
Feb 28, 2019 6:17
Forum: General
Topic: type field ambiguity (possbile bug)
Replies: 2
Views: 964

Re: type field ambiguity (possbile bug)

Yes that is the bug. I saw bug #645 in my search but I didn't think it was related.
Now that I read the comments I see that it is the same.
It is a bug that is not likely to be fixed, but as you point out its not a difficult workaround.
by sancho3
Feb 26, 2019 8:39
Forum: General
Topic: type field ambiguity (possbile bug)
Replies: 2
Views: 964

type field ambiguity (possbile bug)

If a child type method local variable shares the same name as a parent member field it blocks access to the parent field. I think this could be a bug. I searched the bug reports and can't find anything. Here is an example: Type parent As Integer x1, y1, x2, y2 End Type Type child Extends parent Decl...
by sancho3
Feb 20, 2019 5:22
Forum: Sources, Examples, Tips and Tricks
Topic: Numerical optimizer
Replies: 25
Views: 5408

Re: Numerical optimizer

Here is the post that has been alluded to. Since you have been away, you should know that there has been tension in forums. Enough so that a moderator has been brought on to aid in administering the forum. Here is that forum topic. I have to admit that the first thing I thought when I saw the title...
by sancho3
Feb 20, 2019 3:25
Forum: General
Topic: Bug with BSAVE?
Replies: 4
Views: 1672

Re: Bug with BSAVE?

It might be a bug or a documentation issue. If you include the bit depth you have to include at least a null(0) for palette or you get that error. There is no matching bug report as yet. Dim As Any ptr t 'Bsave("bla.bmp", t,,,32) ' error Bsave("bla.bmp", t,,,) ' no error Bsave(&q...
by sancho3
Feb 18, 2019 17:35
Forum: Community Discussion
Topic: Building FreeBASIC 1.06 Release
Replies: 46
Views: 11970

Re: Building FreeBASIC 1.06 Release

There are no problems on my Ubuntu using 1.06 64
by sancho3
Feb 18, 2019 8:05
Forum: Community Discussion
Topic: Building FreeBASIC 1.06 Release
Replies: 46
Views: 11970

Re: Building FreeBASIC 1.06 Release

Outstanding.
Thank you very much. Can't wait to try it.
by sancho3
Feb 15, 2019 22:58
Forum: General
Topic: How to decide on virtual or shadow method
Replies: 1
Views: 854

How to decide on virtual or shadow method

How do you decide which way to code a class method in regards to shadowing or virtual methods? In the following code example which method is better, virtual or shadowed? The methods shadow() and over_ride() give the same output and seem to work the same. Type parent Extends Object as integer x Decla...
by sancho3
Feb 09, 2019 8:34
Forum: General
Topic: FNX BASIC
Replies: 1
Views: 1052

Re: FNX BASIC

It would in fact be much easier if you used Github to present your large projects.
by sancho3
Feb 08, 2019 2:14
Forum: General
Topic: SCREEN
Replies: 2
Views: 811

Re: SCREEN

Screen 0

Code: Select all

Screenres 800, 600

Getkey

Screen 0 
Print "hello"
Getkey
by sancho3
Feb 07, 2019 6:00
Forum: Projects
Topic: FreeBasic IDE-poseidonFB(Update 2024.03.03)
Replies: 1283
Views: 359515

Re: FreeBasic IDE-poseidonFB(Update 2018.12.09)

Hello Kuan: The IDE crashes and I have managed to isolate and reproduce it in my project. EDIT: I have updated the project but the problem can still be reproduced rather easily. Clone the project from github and then open the project and the file SeatSelect.bi On line 123 if pC->seat_index <> prev_s...
by sancho3
Feb 03, 2019 19:23
Forum: General
Topic: RND breadth
Replies: 42
Views: 5575

Re: RND breadth

Like Dodicat said, you have isolated a small range of numbers. If you isolate a same size range anywhere else you get similar amounts of hits. Here I add the next range .00100 to .00200 to your code and we see similar amounts of hits: screen 19 dim as double l0 = .00000 , h0 = .0001 dim as double l1...
by sancho3
Feb 02, 2019 0:17
Forum: Projects
Topic: FreeBasic IDE-poseidonFB(Update 2024.03.03)
Replies: 1283
Views: 359515

Re: FreeBasic IDE-poseidonFB(Update 2018.12.09)

Yes, that worked. Thanks Kuan.
by sancho3
Feb 01, 2019 1:05
Forum: Projects
Topic: FreeBasic IDE-poseidonFB(Update 2024.03.03)
Replies: 1283
Views: 359515

Re: FreeBasic IDE-poseidonFB(Update 2018.12.09)

Hey Kuan: Something is crashing the IDE. I can use Compile, Run, Build Project, Rebuild Project and Quck Run with no problems. But if I use 'Compile File and Run' (ctrl F5), poseiden crashes and closes and I have to restart it. This happens on a simple project with only 1 file with a simple ? "...