Search found 1770 matches

by Keya
Wed Jun 02, 2021 10:47 am
Forum: Feature Requests and Wishlists
Topic: Update 3D libraries
Replies: 19
Views: 5634

Re: Update 3D libraries

I don't use any 3D stuff, but I think the update to v6 presents a good opportunity/time to update to the latest libraries
by Keya
Wed Jun 02, 2021 10:45 am
Forum: Coding Questions
Topic: A simple sort problem?
Replies: 8
Views: 742

Re: A simple sort problem?

glad to hear you've got it going :) I would still opt for an integer version over string manipulation though (though maybe it's not worth it)
by Keya
Wed Jun 02, 2021 9:27 am
Forum: Coding Questions
Topic: A simple sort problem?
Replies: 8
Views: 742

Re: A simple sort problem?

Im guessing the existing sort routines won't work specifically for how you need them. How about creating a duplicate array, but modifying them so that, for example... 1 = 10000 2 = 20000 2A = 20256 (A = +256.... B = +257 etc) (or just +use their Asc() values) Please forgive me, my numbers are off, b...
by Keya
Tue Jun 01, 2021 8:09 am
Forum: Game Programming
Topic: tic tac toe 2.0
Replies: 5
Views: 3038

Re: tic tac toe 2.0

this very interesting variant doesn't appear to be mentioned in Wikipedia's Tic Tac Toe page ?
by Keya
Mon May 31, 2021 4:59 pm
Forum: Coding Questions
Topic: Return string of C function in PB [Resolved]
Replies: 5
Views: 518

Re: Return string of C function in PB

Post the output of the C code
perhaps youre just missing "v_" eg "v_Mystring"
by Keya
Mon May 31, 2021 4:08 pm
Forum: Coding Questions
Topic: Read C variable in PB [Resolved]
Replies: 12
Views: 1652

Re: Read C variable in PB

It works, but I don't understand how @chaine can link to string v_ chaine :?: Because internally PB prepends the prefix "v_" to variables before compilation (and "p_" to pointers, etc) This is explained in the PB helpfile Inline Assembly section , as it also applies there when w...
by Keya
Sat May 29, 2021 6:22 am
Forum: Coding Questions
Topic: Running directly C code with v6.00 [Resolved]
Replies: 20
Views: 2624

Re: Running directly C code with v6.00

If you want to program in C, why you don't use a C compiler directly :wink: I actually find it quite incredible - being able to use Purebasic + assembly + C in the same source code. Talk about POWER and FLEXIBILITY !!!!! :) I don't know of any other language which has this capability and flexibilit...
by Keya
Fri May 28, 2021 9:46 am
Forum: Announcement
Topic: Syntax highlightning on the forums
Replies: 32
Views: 8206

Re: Syntax highlightning on the forums

The syntax highlighting looks pretty good to me, but I just wish the code box was longer to show more lines of code!
by Keya
Thu May 27, 2021 8:48 am
Forum: Coding Questions
Topic: Linker from 2008 in Alpha from 2021?
Replies: 8
Views: 821

Re: Linker from 2008 in Alpha from 2021?

If you want to have up to date toolchain for your personal use, you can still replace it. So you're confirming the PB toolchain can be updated :) I don't think upgrading it will break much if at all, it's just fixing bugs and security issues, so my guess is it would be a relatively smooth transitio...
by Keya
Thu May 27, 2021 7:19 am
Forum: Coding Questions
Topic: Linker from 2008 in Alpha from 2021?
Replies: 8
Views: 821

Re: Linker from 2008 in Alpha from 2021?

Mindphazer wrote: Thu May 27, 2021 7:18 amIs this really a "bug" ?
For security reasons I would say Yes (there have been a lot of security bugfixes/upgrades during the last 13 years)
With the new v6 (and I know and respect it's still just an alpha!) I would hope all supporting libraries etc get upgraded to the latest version
by Keya
Wed May 26, 2021 2:47 am
Forum: Coding Questions
Topic: Include Binary Crashing Program
Replies: 27
Views: 2100

Re: Include Binary Crashing Program

no, but to me if your program is crashing after ~5 seconds, I'd be surprised if it's related to IncludeBinary's Create a basic Hello World program that uses the same IncludeBinary's and see if that still crashes. If it doesn't, that would rule out the images being the problem. And try disabling your...
by Keya
Wed May 26, 2021 2:30 am
Forum: Coding Questions
Topic: Include Binary Crashing Program
Replies: 27
Views: 2100

Re: Include Binary Crashing Program

FourthStone wrote: Sun May 23, 2021 11:23 pmWhen the files are included my program crashes after 5-10 seconds
By any chance is your app multithreaded, or using a timer?
by Keya
Wed May 26, 2021 1:47 am
Forum: Feature Requests and Wishlists
Topic: mp3 sound plugin now that patent expired
Replies: 4
Views: 2145

Re: mp3 sound plugin now that patent expired

i thought the patent was only for encoding mp3s, not decoding/playing?
by Keya
Tue May 25, 2021 12:38 pm
Forum: Tricks 'n' Tips
Topic: [Source] hashi - Hashing Include (x86/x64) [Windows OS]
Replies: 29
Views: 2790

Re: [Source] hashi - Hashing Include (x86/x64) [Windows OS]

Saki,
So you're now saying "keep using MD5 (it's 'absolutely ok'), but don't use AES" ... *sigh* I give up
by Keya
Tue May 25, 2021 9:58 am
Forum: Coding Questions
Topic: PellesC static DLL in PB howto?
Replies: 6
Views: 789

Re: PellesC static DLL in PB howto?

not sure sorry, but "ImportC "C:\..." seems a bit odd