In fact, it was not easy to debug because of the ~10k lines of code
Search found 677 matches
- Mon Mar 31, 2025 11:00 pm
- Forum: Coding Questions
- Topic: PB 6.20 : OpenWindow error with #PB_Any
- Replies: 3
- Views: 204
Re: PB 6.20 : OpenWindow error with #PB_Any
Oh thank you !
In fact, it was not easy to debug because of the ~10k lines of code
In fact, it was not easy to debug because of the ~10k lines of code
- Mon Mar 31, 2025 9:57 pm
- Forum: Coding Questions
- Topic: PB 6.20 : OpenWindow error with #PB_Any
- Replies: 3
- Views: 204
PB 6.20 : OpenWindow error with #PB_Any
Any window command wich use a window id returned by OpenWindow failed when #PB_Any is passed as the first parameter.
Uncomment SmartWindowRefresh or SetWindowColor to see the error with PB 6.20, both version (ASM and C Backend)
Runs fine with with PB 6.04
Global main_window.l
;- KO with PB 6.20 ...
Uncomment SmartWindowRefresh or SetWindowColor to see the error with PB 6.20, both version (ASM and C Backend)
Runs fine with with PB 6.04
Global main_window.l
;- KO with PB 6.20 ...
- Wed Jan 24, 2024 1:57 am
- Forum: Tricks 'n' Tips
- Topic: PureBasic Modules: A Quick Tutorial
- Replies: 21
- Views: 86695
Re: PureBasic Modules: A Quick Tutorial
Very nice tutorial ! 👍
There is a tiny typo error :
"The variable myPrivateVariable and the function myPrivate Function () are both inaccessible to the parent program"
To be changed to :
The variable myPrivateVariable and the function myPrivate Procedure () are both inaccessible to the parent ...
There is a tiny typo error :
"The variable myPrivateVariable and the function myPrivate Function () are both inaccessible to the parent program"
To be changed to :
The variable myPrivateVariable and the function myPrivate Procedure () are both inaccessible to the parent ...
- Sun Dec 27, 2020 1:21 am
- Forum: Coding Questions
- Topic: Resize WindowedScreen
- Replies: 7
- Views: 2520
Re: Resize WindowedScreen
Hi RASHAD ! 
Good tip !
I now have the choice

Good tip !
I now have the choice
- Mon Dec 21, 2020 12:18 am
- Forum: Coding Questions
- Topic: Resize WindowedScreen
- Replies: 7
- Views: 2520
Re: Resize WindowedScreen
Hi !
I finally managed to get your code working :!:
I can full strech or stretch with aspect ratio or no stretch (image is centered) : that's what I wanted :D
Sorry for the late response, i have +-20 000 lines of code, it wasn't easy to not break the existing :mrgreen:
And again thank you ! To ...
I finally managed to get your code working :!:
I can full strech or stretch with aspect ratio or no stretch (image is centered) : that's what I wanted :D
Sorry for the late response, i have +-20 000 lines of code, it wasn't easy to not break the existing :mrgreen:
And again thank you ! To ...
- Wed Dec 16, 2020 9:27 pm
- Forum: Coding Questions
- Topic: Resize WindowedScreen
- Replies: 7
- Views: 2520
Re: Resize WindowedScreen
Hi !
Thank your for your answers but the code doesn't match my need :mrgreen:
In fact, i am blitting pixels into a sprite and display it on a WindowedScreen.
When setting the autoStretch to #true, the application Window is resized along with the WindowedScreen to match it's parent window's size ...
Thank your for your answers but the code doesn't match my need :mrgreen:
In fact, i am blitting pixels into a sprite and display it on a WindowedScreen.
When setting the autoStretch to #true, the application Window is resized along with the WindowedScreen to match it's parent window's size ...
- Wed Dec 16, 2020 12:14 am
- Forum: Coding Questions
- Topic: Resize WindowedScreen
- Replies: 7
- Views: 2520
Resize WindowedScreen
Hello :!:
I am currently facing a situation where i have WindowedScreen blitting some pixels data : it all works.
Now, i have a scaling feature with this two options :
- stretch
- scale with aspect ratio
The first case works very good with the autoStretch flag in OpenWindowedScreen().
But how to ...
I am currently facing a situation where i have WindowedScreen blitting some pixels data : it all works.
Now, i have a scaling feature with this two options :
- stretch
- scale with aspect ratio
The first case works very good with the autoStretch flag in OpenWindowedScreen().
But how to ...
- Wed Apr 15, 2020 5:06 pm
- Forum: General Discussion
- Topic: [PB 5.71 x64] Ludicrouz.b : virus or false positive ?
- Replies: 3
- Views: 2222
Re: [PB 5.71 x64] Ludicrouz.b : virus or false positive ?
Ok, thank you both ! 
- Tue Apr 14, 2020 9:50 pm
- Forum: General Discussion
- Topic: [PB 5.71 x64] Ludicrouz.b : virus or false positive ?
- Replies: 3
- Views: 2222
[PB 5.71 x64] Ludicrouz.b : virus or false positive ?
Hi,
This is quite some time i didn't code with purebasic.
So I downloaded the latest version (5.71 LTS x64).
Each time i compile, Windows Defender report me this virus : ludicrouz.b
https://i.ibb.co/k9LScx2/purebasic-virus-or-false-positive.png
Is it a false positive ? Am i the only one with ...
This is quite some time i didn't code with purebasic.
So I downloaded the latest version (5.71 LTS x64).
Each time i compile, Windows Defender report me this virus : ludicrouz.b
https://i.ibb.co/k9LScx2/purebasic-virus-or-false-positive.png
Is it a false positive ? Am i the only one with ...
- Sat May 14, 2011 3:49 pm
- Forum: Coding Questions
- Topic: Problems calling C dll function, timeout.
- Replies: 10
- Views: 2632
Re: Problems calling C dll function, timeout.
Hi !
Doesn't occure when turning off the debugger.
Perhaps you need to use the lib debug version of CSFML with pb debugger enabled
Doesn't occure when turning off the debugger.
Perhaps you need to use the lib debug version of CSFML with pb debugger enabled
- Sat Feb 06, 2010 11:04 am
- Forum: Coding Questions
- Topic: VST-Plugins in PB?
- Replies: 3
- Views: 1535
Re: VST-Plugins in PB?
Has anyone been able to make a VST-plugin in PB?
AFAIK it should be possible: we have DLL, we have WindowCallbacks() (WaitWindowEvent() is a no-go here), MultiThread...
Perhaps there are other things to consider before I start to translate the VST-Sdk?
P.s.
I already made a Vst-AsioHost in PB ...
AFAIK it should be possible: we have DLL, we have WindowCallbacks() (WaitWindowEvent() is a no-go here), MultiThread...
Perhaps there are other things to consider before I start to translate the VST-Sdk?
P.s.
I already made a Vst-AsioHost in PB ...
- Sun Jan 31, 2010 1:22 am
- Forum: Tricks 'n' Tips
- Topic: PortAudio for PB
- Replies: 83
- Views: 47400
Re: PortAudio for PB
Here you can find my x86/x64 dll (vc2008 compiled) ready to be used with PB (included with my modified PB include with ASIO support).
- Fri Nov 13, 2009 1:29 am
- Forum: Off Topic
- Topic: a little about myself
- Replies: 8
- Views: 2153
Re: a little about myself
KarLKoX the times we are living in are a turning point, it's not going to go as usual, this is "a soul harvest period", terrible hardships are ahead to quicken "the crop", if you know about cotton farming you know what I mean.
I already understood what was behind the first post but i don't see ...
I already understood what was behind the first post but i don't see ...
- Fri Nov 13, 2009 12:37 am
- Forum: Tricks 'n' Tips
- Topic: FLAC Decoder by stream
- Replies: 1
- Views: 2580
Re: FLAC Decoder by stream
Simple and nice ! 
- Fri Nov 13, 2009 12:34 am
- Forum: Off Topic
- Topic: a little about myself
- Replies: 8
- Views: 2153
Re: a little about myself
Hi ! Nice to hear from you :)
For me, the system will learn NOTHING from the crisis and will continue as usual, speculating, creating and selling toxic products, steal money from poor people ...
There were wars from centuries with millions of death so why they (the human) will change where they ...
For me, the system will learn NOTHING from the crisis and will continue as usual, speculating, creating and selling toxic products, steal money from poor people ...
There were wars from centuries with millions of death so why they (the human) will change where they ...