Search found 4474 matches

by mk-soft
Fri Mar 29, 2024 3:04 pm
Forum: Linux
Topic: How to use OpenLibrary() with Linux
Replies: 3
Views: 60

Re: How to use OpenLibrary() with Linux

There are also rules under Linux as to where something has to be located.
It only works with the effort via LoadLibrary with path specification.
by mk-soft
Fri Mar 29, 2024 2:27 pm
Forum: Linux
Topic: How to use OpenLibrary() with Linux
Replies: 3
Views: 60

Re: How to use OpenLibrary() with Linux

Example with SDL Link: https://www.purebasic.fr/english/viewtopic.php?p=618215#p618215 Works with path to lib But ... If the BASS library has been properly installed under Linux, there should be no problems with importing. The library must also be in the correct folder under linux so that it can alw...
by mk-soft
Fri Mar 29, 2024 1:28 pm
Forum: Bugs - Mac OSX
Topic: [Done] Crash with SendNetworkData
Replies: 11
Views: 5062

Re: Crash with SendNetworkData

Sorry, I had forgotten.

A quick test with my TCP module adapted that is sent further in the thread when the connection is closed.
SendNetworkData now comes back with an error ;)

Looks good so far.
by mk-soft
Thu Mar 28, 2024 10:41 am
Forum: Linux
Topic: How to solve these Linker errors?
Replies: 2
Views: 68

Re: How to solve these Linker errors?

Do you have some executable code to reproduce this.
Looks like maybe an external old user lib is used or a developer lib was not installed.

What PB version ?
by mk-soft
Wed Mar 27, 2024 7:56 pm
Forum: Coding Questions
Topic: Problem with Mouse and F10 key ...
Replies: 16
Views: 446

Re: Problem with Mouse and F10 key ...

I still work on old projects with old versions, because sometimes the effort is too great to adapt all external libraries, or they no longer exist.

New projects of cource with new version ..
by mk-soft
Wed Mar 27, 2024 7:38 pm
Forum: Coding Questions
Topic: What is the maximum length a string variable can hold?
Replies: 15
Views: 414

Re: What is the maximum length a string variable can hold?

I think unlimit means a meaningful range. So more than 64 kb and less than 1 mb with which the string management can also process well. Anything in the gigabyte range should be processed directly with memory areas as ArrayOfChar. #GByte = 1024 * 1024 * 1024 Structure ArrayOfChar c.c[0] EndStructure ...
by mk-soft
Tue Mar 26, 2024 11:01 pm
Forum: Off Topic
Topic: Ads by Google
Replies: 10
Views: 473

Re: Ads by Google

The small advert below would also be ok and Fred can earn something from it. Every now and then there is also something interesting.
So if the problem with the big adverts is solved, you can switch off the adblock again.
by mk-soft
Tue Mar 26, 2024 9:56 pm
Forum: Bugs - Linux
Topic: PB v6.x CanvasGadget Container and Event #PB_EventType_MouseWheel
Replies: 0
Views: 101

PB v6.x CanvasGadget Container and Event #PB_EventType_MouseWheel

The event #PB_EventType_MouseWheel does not occur if the CanvasGaget is a container. Report from german forum Define flags flags = #PB_Canvas_Container OpenWindow(0, #PB_Ignore, #PB_Ignore, 500, 500, "Canvas Test") CanvasGadget(0, 0, 0, 500, 500, flags) ButtonGadget(1, 0, 0, 50, 30, "...
by mk-soft
Tue Mar 26, 2024 9:50 pm
Forum: Off Topic
Topic: Ads by Google
Replies: 10
Views: 473

Re: Ads by Google

For Chrome, etc found 'AdBlock Plus'
and for macOS 'Adblock Pro'

;)
by mk-soft
Tue Mar 26, 2024 11:52 am
Forum: Off Topic
Topic: Ads by Google
Replies: 10
Views: 473

Ads by Google

Fat advertising windows in the forum all at once.
Everywhere between all the posts.
This doesn't have to be in a forum and is extremely nerdy.

One Ad-blocker helps ..
by mk-soft
Tue Mar 26, 2024 12:38 am
Forum: Linux
Topic: SDL on Raspberry Pi
Replies: 1
Views: 148

Re: SDL on Raspberry Pi

Not all extended libraries are implemented in the PB. So implement them yourself ... Update 2 ;) ;-TOP by mk-soft ; ---- #SDL_WINDOWEVENT = $200; Enumeration #SDL_WINDOWEVENT_NONE #SDL_WINDOWEVENT_SHOWN #SDL_WINDOWEVENT_HIDDEN #SDL_WINDOWEVENT_EXPOSED #SDL_WINDOWEVENT_MOVED #SDL_WINDOWEVENT_RESIZED ...
by mk-soft
Mon Mar 25, 2024 9:02 pm
Forum: Bugs - 3D Engine
Topic: [Done] InitEngine3D() crashes in windows with PB32bit version!
Replies: 7
Views: 1253

Re: [Done] InitEngine3D() crashes in windows with PB32bit version!

Maybe ... CompilerIf #PB_Compiler_OS Macro CocoaString(NSString) PeekS(CocoaMessage(0, NSString, "UTF8String"), -1, #PB_UTF8) EndMacro CompilerEndIf Procedure.s GetProgramPath() CompilerIf #PB_Compiler_OS = #PB_OS_MacOS Static bundlePath.s Protected bundlePathPtr If Not Bool(bundlePath) bu...
by mk-soft
Mon Mar 25, 2024 7:32 pm
Forum: Coding Questions
Topic: IniEngine3D let's the computer go black for a fraction of a second
Replies: 2
Views: 115

Re: IniEngine3D let's the computer go black for a fraction of a second

Could it be that you have an advanced graphics card? This can lead to hardware switching.
Or you are using different resolutions between Windows and Game Mode
by mk-soft
Mon Mar 25, 2024 7:28 pm
Forum: Feature Requests and Wishlists
Topic: Html 2 PBsource
Replies: 4
Views: 224

Re: Html 2 PBsource

Maybe write a PB tool. But I would store it as external files. So you can use an HTML editor. Only as tip Macro GetHtml(_label:) PeekS(_label_, -1, #PB_UTF8) EndMacro DataSection htmlscript1: IncludeBinary "script1.html" Data.w #Null htmlscript2: IncludeBinary "script2.html" Data...