Search found 621 matches

by UEZ
Aug 27, 2020 9:27
Forum: Tips and Tricks
Topic: Simple 3D Starfield build 2020-09-03
Replies: 17
Views: 819

Re: Simple 3D Starfield build 2020-08-27

David Watson wrote:Works on my Linux system. I'm getting 257 fps (and dizziness).


Thanks for testing. Just set bRotation = False to avoid vomit. ;-)
by UEZ
Aug 27, 2020 7:37
Forum: Tips and Tricks
Topic: Simple 3D Starfield build 2020-09-03
Replies: 17
Views: 819

Simple 3D Starfield build 2020-09-03

Here another simple 3d starfield. 'Coded by UEZ build 2020-08-27 #Include "fbgfx.bi" Using FB Randomize Dim Shared As Boolean bFullscreen = False, bRotation = False #Define Map(val, source_start, source_stop, dest_start, dest_stop) ((val - source_start) * (dest_stop - dest_start) / (source...
by UEZ
Aug 21, 2020 22:59
Forum: General
Topic: Trigonometry-Patterns
Replies: 42
Views: 911

Re: Trigonometry-Patterns

Here my contribution. Simple circle pattern animation: 'Coded by UEZ build 2020-08-22 #Include "fbgfx.bi" Using FB Randomize Const iW = 1200, iH = 800, iW2 = iW \ 2, iH2 = iH \ 2, pi = Acos(-1), deg = pi / 180, rad = 180 / pi Screenres iW, iH, 32, 2, GFX_WINDOWED Or GFX_NO_SWITCH Or GFX_AL...
by UEZ
Aug 14, 2020 14:22
Forum: Windows
Topic: drWinFBE_Tools
Replies: 45
Views: 3171

Re: drWinFBE_Tools

deltarho[1859] wrote:
UEZ wrote:My solution is to hook my GUI as child to WinFBE's main GUI.

Sounds good.


The hooking code can be found here: viewtopic.php?f=6&t=28488&start=15#p272265
by UEZ
Aug 14, 2020 14:04
Forum: Windows
Topic: drWinFBE_Tools
Replies: 45
Views: 3171

Re: drWinFBE_Tools

Thanks for the updates.

My solution is to hook my GUI as child to WinFBE's main GUI. When I minimize WinFBE then my GUI will be minimized, too. I don't need to check if WinFBE's GUI is active or not.
by UEZ
Aug 11, 2020 19:59
Forum: Windows
Topic: drWinFBE_Tools
Replies: 45
Views: 3171

Re: drWinFBE_Tools

deltarho[1859] wrote:
UEZ wrote:@deltarho[1859]: Any chance to see the source code?

No.

No problem, actually I didn't want to reinvent the wheel, just add a few things I had posted in this topic, but the wheel is now reinvented.
by UEZ
Aug 11, 2020 11:26
Forum: Windows
Topic: drWinFBE_Tools
Replies: 45
Views: 3171

Re: drWinFBE_Tools

@deltarho[1859]: Any chance to see the source code?
by UEZ
Aug 10, 2020 11:46
Forum: Community Discussion
Topic: Syn9's Hideout
Replies: 5
Views: 408

Re: Syn9's Hideout

Very impressiv stuff there Image

Thanks for sharing it.
by UEZ
Aug 05, 2020 22:29
Forum: General
Topic: A PRNG for graphics programs?
Replies: 84
Views: 2455

Re: A PRNG for graphics programs?

The code from first post plottet only 25 FPS on a old box. With a small changes it plots 1250-1300 FPS Joshy #include "fbgfx.bi" Using FB #define Engine this.state = this.state * 1664525ul + 1013904223ul And &HFFFFFFFFul Const c1 = 2^32 Type NR32 Public: Declare Constructor Declare Su...
by UEZ
Aug 04, 2020 20:01
Forum: Windows
Topic: Opcode call from memory issue
Replies: 3
Views: 176

Re: Opcode call from memory issue

Thank you both!

It never came to my mind to check the endian stuff when writing bytes to the memory.

Then I think I found the reason why viewtopic.php?f=6&t=28722#p274422 doesn't work. I need to convert the bytes to the other endian mode.
by UEZ
Aug 04, 2020 17:51
Forum: Windows
Topic: Opcode call from memory issue
Replies: 3
Views: 176

Opcode call from memory issue

I have this code which works: Dim As Ubyte iLen, iLines Restore __OpCode: Read iLen Read iLines Dim As Any Ptr OpCodeMem = Allocate(iLen) Dim AverageMemCall As Function(a As Integer, b As Integer) As Integer = OpCodeMem Dim As Integer Ptr FunctionMem = Cast(Integer Ptr, AverageMemCall) For i As Ubyt...
by UEZ
Aug 04, 2020 12:40
Forum: Projects
Topic: COMWrapperBuilder tool
Replies: 11
Views: 637

Re: COMWrapperBuilder tool

I found my mistake. I only opened files in UTF8, so I didn't open ANSI files. Now I've fixed it, I'm trying to open it in several formats. I updated: https://github.com/XusinboyBekchanov/VisualFBEditor/commit/a454dde3c926dcfada8b4bdf60e5900ca80dfc69 ANSI is still not working, getting the same error...
by UEZ
Aug 03, 2020 20:17
Forum: Projects
Topic: COMWrapperBuilder tool
Replies: 11
Views: 637

Re: COMWrapperBuilder tool

I'm still getting error with latest SimpleVariantPlusTemplate.bi FreeBASIC Compiler - Version 1.08.0 (2020-05-12), built for win32 (32bit) Copyright (C) 2004-2019 The FreeBASIC development team. standalone target: win32, 486, 32bit backend: gas compiling: C:\...\Excel Example.bas -o C:\...\Excel Exa...
by UEZ
Aug 03, 2020 17:17
Forum: Projects
Topic: COMWrapperBuilder tool
Replies: 11
Views: 637

Re: COMWrapperBuilder tool

COMWrapperBuilder.exe doesn't work properly. I get a message "Not find #include "SimpleVariantPlus.bi" in modules!" although the line exists at the top of the code (the Word example). Why is Notepad.exe starting when I press the open button? After the last update also the Excel e...
by UEZ
Aug 03, 2020 10:42
Forum: Projects
Topic: COMWrapperBuilder tool
Replies: 11
Views: 637

Re: COMWrapperBuilder tool

Thanks Xusinboy Bekchanov for sharing this useful code example to control Excel via COM interface. But I don't understand what COMWrapperBuilder tool is doing. Can you please explain it again? With Autoit I'm working since years with this COM interface to control Excel, Word, PP, ActiveDirectory, etc.

Go to advanced search