Search found 13 matches

by soren
Fri Nov 21, 2025 11:49 am
Forum: Coding Questions
Topic: Scintilla version
Replies: 3
Views: 115

Re: Scintilla version

Ok thanks! Seems it is actually a few version behind then.. does someone know how we could get Fred to update this?
by soren
Fri Nov 21, 2025 9:35 am
Forum: Coding Questions
Topic: Scintilla version
Replies: 3
Views: 115

Scintilla version

Does anyone know which version of Scintilla is used in PureBasic?

I am experiencing the following issue, which has been resolved in the latest Scintilla version, so I guess it is not the latest version being used in PureBasic.

https://sourceforge.net/p/scintilla/bugs/2449/
by soren
Thu Sep 17, 2020 5:16 pm
Forum: Coding Questions
Topic: Theading and OpenLibrary/GetFunction (Csound.dll)
Replies: 6
Views: 1838

Re: Theading and OpenLibrary/GetFunction (Csound.dll)

@infratec - thanks for trying this out! your example also works fine here, but if you replace

S$ = "i 96.0 0 -1 0" + #LF$
S$ + "i 96.1 0 -1 1" + #LF$
S$ + "i 96.2 0 -1 ch2" + #LF$
S$ + "i 98 0 -1"
with:
S$ = "i 96.0 0 -1 0" + #LF$
S$ + "i 96.1 0 -1 1" + #LF$
S$ + "i 96.2 0 -1 2" + #LF$
S$ + "i ...
by soren
Tue Sep 01, 2020 9:48 pm
Forum: Coding Questions
Topic: Theading and OpenLibrary/GetFunction (Csound.dll)
Replies: 6
Views: 1838

Re: Theading and OpenLibrary/GetFunction (Csound.dll)

@Aleks - sorry I was off from the forum for a while, would like to check your code! however, seems the link is now dead?

@infratec - sure, maybe 'problem' is a more accurate word:) What I was trying to say is that I wrote some code with C#/.NET that does exactly the same as the PB code above (I can ...
by soren
Fri Aug 28, 2020 12:28 pm
Forum: Coding Questions
Topic: Theading and OpenLibrary/GetFunction (Csound.dll)
Replies: 6
Views: 1838

Theading and OpenLibrary/GetFunction (Csound.dll)

I believe the following demonstrates some kind of bug.

To run the code one must install Csound and put a stereo sample (test.wav) and the Csound definition below (test.orc) in the same folder as the pb code file.

When the space bar is pressed the sound of test.wav will be audible until the space ...
by soren
Tue Aug 25, 2020 4:14 pm
Forum: Coding Questions
Topic: Unstable OpenLibrary/GetFunction calls (Csound)
Replies: 2
Views: 980

Re: Unstable OpenLibrary/GetFunction calls (Csound)

@infratec thanks for testing! sure it kind of 'works' but maybe I should have mentioned that I expect this to have very precise timing and 'reponsiveness' - it should be usable as a type of music performance instrument, that is, if using an ASIO driver (ASIO4ALL).. but even with a the normal directx ...
by soren
Tue Aug 25, 2020 9:39 am
Forum: Coding Questions
Topic: Unstable OpenLibrary/GetFunction calls (Csound)
Replies: 2
Views: 980

Unstable OpenLibrary/GetFunction calls (Csound)

Can someone please help me verify if this could be a bug in Purebasic - or perhaps I'm doing something wrong?

If you run the code and press the space bar quickly/repeatedly you can hear from the sound output that the imported function csoundInputMessage() will soon start to be called at more ...
by soren
Thu Apr 09, 2020 6:38 pm
Forum: Coding Questions
Topic: Scintilla poor font quality
Replies: 5
Views: 1571

Re: Scintilla poor font quality

Ok, it seems I just need to call SetDPIAware()..:)
by soren
Thu Apr 09, 2020 6:10 pm
Forum: Coding Questions
Topic: Scintilla poor font quality
Replies: 5
Views: 1571

Re: Scintilla poor font quality

Sorry, I was not using the newest PB and now that I updated it the PB editor itself looks much better! (I suppose PB is also using Scintilla?) The Scintilla editor in my own app still looks bad though. I am using Windows 10 with scaling (225%) and it seems the problem is not there if I turn off ...
by soren
Thu Apr 09, 2020 9:51 am
Forum: Coding Questions
Topic: Scintilla poor font quality
Replies: 5
Views: 1571

Scintilla poor font quality

Does anyone know why the fonts look so (relative) bad/blurry in Scintilla, and if it can be improved? I have already experimented with #SCI_SETFONTQUALITY, but it doesn't really help.
by soren
Sun Mar 29, 2020 10:33 am
Forum: Coding Questions
Topic: Using csound dll in PB
Replies: 9
Views: 2221

Re: Accessing 'special' DLL function with ProcedureC

@breeze4me - amazing, thanks!! I had no idea it was necessary first to call csoundSetRTAudioModule - how did you figure that out..?
by soren
Sat Mar 28, 2020 9:04 pm
Forum: Coding Questions
Topic: Using csound dll in PB
Replies: 9
Views: 2221

Re: Accessing 'special' DLL function with ProcedureC

@infratec - thanks for trying also - I'm beginning to think it might be a problem with Csound.. when I run "csound.exe --devices=out" on my computer I get a list of all my output devices.
by soren
Sat Mar 28, 2020 5:56 pm
Forum: Coding Questions
Topic: Using csound dll in PB
Replies: 9
Views: 2221

Using csound dll in PB

I am using ProcedureC to access functions of an external DLL (the Csound API) - it's going well, but one function doesn't seem to be called correctly - can anyone see what I'm doing wrong?

This is the documentation for the function: https://csound.com/docs/api/group___r_t_a_u_d_i_o_i_o.html ...