Search found 578 matches

by Rinzwind
Tue Apr 02, 2024 11:23 am
Forum: Bugs - Windows
Topic: [Done] 6.10 GetFunctionEntry error
Replies: 5
Views: 279

Re: 6.10 GetFunctionEntry error

fryquez wrote: Tue Apr 02, 2024 9:53 am Seems to be a debugger bug.
Wrapping the line with DisableDebugger and EnableDebugger works.
Can confirm this.
Also, yes, I meant 6.04/6.10.
by Rinzwind
Tue Apr 02, 2024 4:15 am
Forum: Bugs - Windows
Topic: [Done] 6.10 GetFunctionEntry error
Replies: 5
Views: 279

[Done] 6.10 GetFunctionEntry error

Global _XInput = OpenLibrary(#PB_Any, "XInput1_4.dll") If _XInput Prototype XInputGetState(dwUserIndex.l, *pState) Global XInputGetState_.XInputGetState = GetFunction(_XInput, "XInputGetState") Prototype XInputGetStateEx(dwUserIndex.l, *pState) Global XInputGetStateEx_.XInputGet...
by Rinzwind
Mon Mar 04, 2024 3:15 am
Forum: Coding Questions
Topic: Vintage computer compatibility
Replies: 9
Views: 527

Re: Vintage computer compatibility

One other way to look at it is if you ccan compile C with Purebasic, you will also be able to compile C for most of those computers. Not really, just because it has a c layer, doesn't mean it runs everywhere. Especially not since PB's standard libs are "only" available for mac, linux and ...
by Rinzwind
Sun Feb 25, 2024 4:17 am
Forum: Tricks 'n' Tips
Topic: AutoHotkey -- single line hotstrings
Replies: 4
Views: 325

Re: AutoHotkey -- single line hotstrings

Misunderstanding of use case. These are commands used to insert certain text into the PB source editor by using hotstrings.

https://www.autohotkey.com/docs/v1/Hotstrings.htm
by Rinzwind
Sat Feb 24, 2024 4:12 am
Forum: Coding Questions
Topic: AI output coding for purebasic
Replies: 11
Views: 631

Re: AI output coding for purebasic

Every single time I asked it a solution to something I couldn't find a solution for (yet), it comes up with made up api's or ignores important points. And my reply was sigh and its reply was o sorry you are right, here is another way blablabla and again nonsense pops up. Sometimes you can use a part...
by Rinzwind
Thu Feb 22, 2024 4:25 am
Forum: Feature Requests and Wishlists
Topic: LoadJSON allow comments
Replies: 12
Views: 627

Re: LoadJSON allow comments

JSON doesn't support comments. See also https://stackoverflow.com/questions/244777/can-comments-be-used-in-json https://www.json.org/json-en.html Yes, I said that already in the first post; and? In practice it does and many disagree with that design (hence jsonc is a thing which is nothing more tha...
by Rinzwind
Wed Feb 21, 2024 12:27 pm
Forum: Feature Requests and Wishlists
Topic: LoadJSON allow comments
Replies: 12
Views: 627

Re: LoadJSON allow comments

Would be nice if LoadJSON just ignores comments. As current state, it just returns false and fails loading.
by Rinzwind
Wed Feb 21, 2024 6:14 am
Forum: Coding Questions
Topic: AI output coding for purebasic
Replies: 11
Views: 631

Re: AI output coding for purebasic

Of course not, as is the case frequently with its make up stuff and API's every time you ask something that's not readily answered on the inet.
by Rinzwind
Wed Feb 21, 2024 5:14 am
Forum: Feature Requests and Wishlists
Topic: LoadJSON allow comments
Replies: 12
Views: 627

LoadJSON allow comments

Ever saw an Sublime or VS Code config file? Chock full of comments... even if not officially allowed by the json standard. Would be nice if PB could read those too (flag or not) and ignore the comments (or even made it possible to add them programmatically, but that's more work).
by Rinzwind
Sun Feb 18, 2024 2:28 pm
Forum: Coding Questions
Topic: Sense last key entry on computer, without program being active.
Replies: 5
Views: 203

Re: Sense last key entry on computer, without program being active.

Mind you, that method does not handle (and kills) 'dead keys (ie US-International keyboard layout)'. Press ' and e to produce é or " and e to get ë.
by Rinzwind
Wed Feb 07, 2024 4:15 pm
Forum: Windows
Topic: Is Purebasic support for creating UWP
Replies: 2
Views: 540

Re: Is Purebasic support for creating UWP

No. You also have no access to its API. Which is all C++ only so you need flat C proxies. Seems like MS all but forgot about C api's and makes new OS functionality not available through public API's. Big mistake. But you can package and upload win32 applications to the MS store, including ones creat...
by Rinzwind
Mon Jan 15, 2024 8:03 am
Forum: Coding Questions
Topic: How to check if an Executable is already Unpacked?
Replies: 12
Views: 1275

Re: How to check if an Executable is already Unpacked?

Dear all, I have a very specific question: How can I determine whether an Executable is already unpacked in memory using PureBasic? If you're not familiar with this, kindly refrain from asking for additional details or reasons behind my inquiry. Best regards. Please read given perfectly valid answe...
by Rinzwind
Sun Jan 14, 2024 8:10 am
Forum: Coding Questions
Topic: How to check if an Executable is already Unpacked?
Replies: 12
Views: 1275

Re: How to check if an Executable is already Unpacked?

Not. The vague request makes no sense. Upx is added to your executable to compress it on disk while quickly decompressing it when run. If you want progress, you need to modify the upx stub itself (see github for its source). But the whole point of the thing is being fast and transparent. Mind you, i...
by Rinzwind
Tue Jan 09, 2024 5:14 am
Forum: Game Programming
Topic: Joysticks
Replies: 18
Views: 3553

Re: Joysticks

PB uses SDL on Linux, but DirectInput on Windows. I hope Fred will make it SDL at both sides because it has much better general consistent out of the box gamepad support and make things equal in this regard. Also PB should offer a way to get the exact gamepad model number so any input mapping works ...
by Rinzwind
Tue Jan 09, 2024 5:02 am
Forum: General Discussion
Topic: PureBasic is a Great Programming Language with Limited Resources
Replies: 18
Views: 2168

Re: PureBasic is a Great Programming Language with Limited Resources

Yep because it's a niche old style language (ok, so is c, but much more wide spread and way older) with a core following. Cannot expect much else. Unless a major party starts using it as primary language for their platform whatever reason. Same with other obscure or new languages with no company bac...