Search found 67 matches

by PHP
Sat Sep 06, 2025 8:08 pm
Forum: General Discussion
Topic: Is PureBasic dead?
Replies: 21
Views: 2213

Re: Is PureBasic dead?

Thread looks like spam anyway :-)

No, just from someone who has been using PB for 15 years, loves it, and thinks seriously about it.


Practically you have point two questions
1) purebasic is not "running" inside a browser, excludict the fact that the nature of the language is bytecompiled like ...
by PHP
Fri Aug 29, 2025 2:28 pm
Forum: General Discussion
Topic: Is PureBasic dead?
Replies: 21
Views: 2213

Is PureBasic dead?

Hello everybody,

a question I keep asking myself: is PureBasic ‘dead’?

No, I am not a ‘hater’ and I really like PB.

But if you look at the current development of software, most of it runs in a) the browser and b) has AI connected somehow.

PB's image functions are cool, for example, but of course ...
by PHP
Sun Jun 08, 2025 10:42 am
Forum: Coding Questions
Topic: [DONE]Sound output for externel Device
Replies: 17
Views: 3457

Re: [DONE]Sound output for externel Device

Test the last code here and got this:

Image

Of course the .wav file is 48 kHz...

Any ideas what's wrong? Do i have to select the output device first somewhere?
by PHP
Thu Jun 05, 2025 9:09 pm
Forum: Coding Questions
Topic: Animated cartoon movie with PB?
Replies: 6
Views: 629

Animated cartoon movie with PB?

I'm planning to make short animated films, for example, The Simpsons or South Park.

There are, of course, various video tools for this, like After Effects, etc., but I enjoy programming and would rather try it in PB and simply record the final result using a screen recorder.

The characters are ...
by PHP
Tue Mar 05, 2024 8:16 pm
Forum: Coding Questions
Topic: KeyboardPushed() without 2D (Sendkeys?)
Replies: 2
Views: 437

KeyboardPushed() without 2D (Sendkeys?)

Hi,

i just wondern why such a function like KeyboardPushed() is only available in 2D and there is no native function...

I need this function but without using 2D-OpenScreen etc.

Found this one somewhere here:

Global HHOOK

Procedure SendKey(KeySwap.s)
SwapData.INPUT
SwapData\type = #INPUT ...
by PHP
Sat Jan 22, 2022 7:24 pm
Forum: Coding Questions
Topic: Wanted: working FMOD example
Replies: 6
Views: 1491

Re: Wanted: working FMOD example

Hi Cyllceaux,

i've managed to add a Trackbargadget showing the actual position and which is able to jump to a specific position.

Some further questions:

1) I saw the spectrum.pb example, is there also a basic function to show the AMPLITUDE of left/right? Just a single bar, not like an equalizer ...
by PHP
Sun Jan 09, 2022 4:03 pm
Forum: Coding Questions
Topic: Wanted: working FMOD example
Replies: 6
Views: 1491

Re: Wanted: working FMOD example

Is this something you are looking for?

I'm far away from using this :D I'm (amateur) just trying to use/understand the basic functions...

I like the MP3 player example and would like to add a simple "position" feature:

- trackbar showing 00:00 -> actual position (of playing track) e.g. 01:40 ...
by PHP
Sun Jan 09, 2022 3:05 pm
Forum: Coding Questions
Topic: Wanted: working FMOD example
Replies: 6
Views: 1491

Re: Wanted: working FMOD example

Many thanks! That's a good basic example!

Any idea how to add these functions to the example?


Prototype.l FMOD_Channel_GetPosition_Prototype (channel.l, *Position, Postype.l)
Global FMOD_Channel_GetPosition.FMOD_Channel_GetPosition_Prototype = GetFunction(fmodLib, "FMOD_Channel_GetPosition ...
by PHP
Mon Jan 03, 2022 7:25 pm
Forum: Coding Questions
Topic: Wanted: working FMOD example
Replies: 6
Views: 1491

Wanted: working FMOD example

Hi,

i'm looking for a simple working FMOD example in the latest PB version.

Is it also possible to include the .dll inside the exe? Or how to deliver it to the user? IncludeBinary and put it into the Home folder or something?

Many thanks! :D
by PHP
Mon Nov 02, 2020 9:50 pm
Forum: Coding Questions
Topic: Painting a triangle with GDI
Replies: 4
Views: 1253

Painting a triangle with GDI

Hi,

i found this code on the board but it doesn't work anymore (no error, no result on the screen):

Procedure Triangle(hdc,x1.l, y1.l, x2.l, y2.l, x3.l, y3.l)
ProcedureReturn Polygon_(hdc, @x1, 3)
EndProcedure

OpenWindow(0, 0, 0, 320, 240, "Triangle", #PB_Window_MinimizeGadget|#PB_Window ...
by PHP
Sat Jul 14, 2018 9:15 am
Forum: Coding Questions
Topic: How to send Html-Emails with PB?
Replies: 6
Views: 4538

Re: How to send Html-Emails with PB?

Is there no way to send a HTML mail with the existing PB functions?

Thought SetMailAttribute() can do this?
by PHP
Sat Nov 08, 2014 3:09 pm
Forum: Coding Questions
Topic: Updating PB-SoundEditor to 5.30? :-(
Replies: 0
Views: 1645

Updating PB-SoundEditor to 5.30? :-(

Hi,

is there anyone who has updated the "PB-SoundEditor" to 5.30 or above?

http://www.freesoundeditor.com/DownloadSrceseng.htm
Download (exe + srouce): http://www.freesoundeditor.com/downloads/sources/soundeditor.zip
Project info (french): http://www.purebasic.fr/french/viewtopic.php?f=8&t=1220 ...
by PHP
Fri Jul 11, 2014 2:20 am
Forum: Coding Questions
Topic: Mix 2 WAVE files together and delay one of them
Replies: 0
Views: 793

Mix 2 WAVE files together and delay one of them

Hi,

the following procedure mixes 2 wave sounds together and returns the "new" sound:

Structure WaveFile
chunkID .s{4}
chunkSize.l
riffType.s{4}
FormatHeader.s{4}
FormatLength.l
wFormatTag.w
wChannels.w
dwSamplesPerSec.l
dwAvgBytesPerSec.l
wBlockAlign.w
wBitsPerSample.w
DataHeader.s{4 ...
by PHP
Sat Sep 14, 2013 9:06 am
Forum: Coding Questions
Topic: SSL/https with OpenNetworkConnection()
Replies: 1
Views: 1342

SSL/https with OpenNetworkConnection()

Hi,

is it possible to connect to a website which uses https (SSL)?

OpenNetworkConnection() has no flag for that :-(

Thanks,
PHP