Search found 621 matches

by UEZ
Jul 09, 2020 20:50
Forum: General
Topic: Crashing on x64 execution
Replies: 8
Views: 447

Re: Crashing on x64 execution

dodicat wrote:Is it a tester for the next official download?
Where did you get it?

I cannot remember where I got this version. In the last weeks I did so many changes to the folder. ^^ Probably from srvaldez or St_W.

srvaldez wrote:try: Dim As String aSoundFiles(0 To 2)

Same result - crashing.
by UEZ
Jul 09, 2020 20:38
Forum: Tips and Tricks
Topic: Fireworks v0.60 build 2020-07-13 beta
Replies: 14
Views: 1487

Re: Fireworks v0.60 build 2020-07-09 beta

Small update to v0.60. Now with some sound effects on explosion (Windows only).

Download can be found in the 1st post.
by UEZ
Jul 09, 2020 19:49
Forum: General
Topic: Crashing on x64 execution
Replies: 8
Views: 447

Crashing on x64 execution

Can somebody tell me why this code crashes when compiling and executing it as x64? Dim Shared As Boolean bSound = True #Ifdef __FB_WIN32__ If bSound Then Dim As String aSoundFiles(0 To ...) = {"Test1", "Test2", "Test3"} ? "Test" End If #Endif ? "End"...
by UEZ
Jul 08, 2020 12:44
Forum: Beginners
Topic: Resizing ImageCreate
Replies: 8
Views: 511

Re: Resizing ImageCreate

Can you show me please? Thanks for the code, I'll try that. I haven't create the resizing function yet because I wanted to know how to resize the buffer with imagecreate. Below is the complete code I've been working so far if you want to help. It's still ugly. My goal is to create a tiny windowing ...
by UEZ
Jul 08, 2020 7:33
Forum: Beginners
Topic: Resizing ImageCreate
Replies: 8
Views: 511

Re: Resizing ImageCreate

You can try this function: 'https://www.codeproject.com/Articles/33838/Image-Processing-Using-C Private Function ResizeImage(pImage As Any Pointer, iW_new As Ushort, iH_new As Ushort) As Any Pointer #Define GetPixelRI(_x, _y) *Cptr(Ulong Ptr, imgData + _y * pitch + _x Shl 2) #Define SetPixelRI(_x, _...
by UEZ
Jul 03, 2020 8:54
Forum: Tips and Tricks
Topic: Smoky Zoom Effect
Replies: 5
Views: 445

Re: Smoky Zoom Effect

I like your thing that much that I made it into a movie. https://www.mediafire.com/file/pl93s3xctak56en/ground_control.zip/file (Windows only) Declaration of love... :-) Indeed, with sound it's much better. Windows only: I tried to make it in real time playing the sound. You need dodicat's zip from...
by UEZ
Jul 02, 2020 12:38
Forum: Tips and Tricks
Topic: Smoky Zoom Effect
Replies: 5
Views: 445

Re: Smoky Zoom Effect

More awesome graphics from the UEZ stable. http://deltarho.org.uk/Downloads/smile.png gcc32 -O2 29fps gcc64 -O2 58fps gas64 29fps Visuallly, for me, I prefer 29fps. Great imagination! Thanks deltarho for your feedback. I modified the code and added dodicat's regulate function to run at ~30 fps whic...
by UEZ
Jul 01, 2020 14:40
Forum: Community Discussion
Topic: Windows 10 May 2020 Update
Replies: 16
Views: 887

Re: Windows 10 May 2020 Update

I was not able to update via Windows Update. Always the same error message which I don't remember yet.
What I did was to upgrade using the ISO image and an usb drive (upgrade installation). Everything so far is working properly and all applications are working properly.
by UEZ
Jul 01, 2020 13:29
Forum: Tips and Tricks
Topic: Smoky Zoom Effect
Replies: 5
Views: 445

Smoky Zoom Effect

A long time ago I wrote a function using GDIPlus to create a smoky zooming effect. I tried to use FB code only which should also run on Linux and here the result: Smoky Zoom Effect.bas 'Coded by UEZ build 2020-07-02 'Thanks to Joshy, Mario Klingemann and dodicat (see below) #Include "fbgfx.bi&q...
by UEZ
Jun 25, 2020 16:28
Forum: Windows
Topic: monitor bytes transferred over network?
Replies: 2
Views: 306

Re: monitor bytes transferred over network?

Try something like this here: 'Coded by UEZ build 2020-06-25 #Include "windows.bi" #Include "win/iphlpapi.bi" Declare Function Convert(Bytes As Longint) As String Const IF_TYPE_ETHERNET_CSMACD = 6, IF_TYPE_IEEE80211 = 71 Dim As _MIB_IFTABLE Ptr pIfTable, pMemIfTable 'https://docs...
by UEZ
Jun 22, 2020 9:38
Forum: General
Topic: Parse DIR listing for folder name and size
Replies: 10
Views: 631

Re: Parse DIR listing for folder name and size

Here a variant using the Windows API: 'Coded by UEZ build 2020-06-22 beta #Include "windows.bi" Declare Sub GetDirSize(sDir As String) Type tFileSize Union As Ulongint quadpart Type As Uinteger LowPart, HighPart End Type End Union End Type Dim As String sDir = "c:\Temp\*" '<---- ...
by UEZ
Jun 18, 2020 9:37
Forum: Tips and Tricks
Topic: Greedy Worm build 2020-06-16
Replies: 3
Views: 319

Re: Greedy Worm build 2020-06-16

Thanks for your feedback.

@dodicat: nice work, especially the eyes - looks really cool. :-)
by UEZ
Jun 16, 2020 11:27
Forum: Windows
Topic: Issue with using BASS / Dylibload
Replies: 4
Views: 366

Re: Issue with using BASS / Dylibload

dodicat wrote:Tested a couple of tunes 32 bit,64 bit and gas64.
All OK.
Only those two byref parameters to byval in BASS_StreamCreateFile need changing.


Ahh, got it. I've overseen the Byref values although I checked each function (not seen the forest for the trees). ^^
It's working now.

Thank you dodicat. :-)
by UEZ
Jun 16, 2020 10:44
Forum: Windows
Topic: Issue with using BASS / Dylibload
Replies: 4
Views: 366

Re: Issue with using BASS / Dylibload

dodicat wrote:I downloaded the dll's
looks like

Dim Shared BASS_StreamCreateFile As Function(Byval As BOOL, Byval As Any Ptr, Byval As QWORD, Byval As QWORD, Byval As Dword) As HSTREAM

is OK.

i.e. all byval, no byref parameters.

Does it mean that you can play a mp3 file using the code?
by UEZ
Jun 16, 2020 9:15
Forum: Tips and Tricks
Topic: Greedy Worm build 2020-06-16
Replies: 3
Views: 319

Greedy Worm build 2020-06-16

https://i.ibb.co/RTc1Q1P/Hungry-Greedy-Worm.jpg Greedy Worm.bas 'Ported to FB by UEZ build 2020-06-16 'Original code by EliK -> https://www.openprocessing.org/sketch/875675 'Thanks to dodicat for the Regulate function #Include "fbgfx.bi" Using FB Const iW = 1000, iH = 600, maxLength = 128...

Go to advanced search