Search found 7909 matches

by Fred
Fri Oct 08, 2021 9:08 am
Forum: Bugs - Windows
Topic: Polink error with personnal user asm lib x86 Backend_C only
Replies: 7
Views: 773

Re: Polink error with personnal user asm lib x86 Backend_C only

Hello Denis,

C backend only support StdCall and for Windows x86 StdCall requiers the decoration. So you need to call your symbol like this:

'PB_Fonction_1@4' or '_PB_Fonction_1@4' I can't remember.

And put 'C' instead of 'ASM' in the lib desc and it should work.
by Fred
Fri Oct 01, 2021 1:41 pm
Forum: General Discussion
Topic: C-Backend
Replies: 14
Views: 1908

Re: C-Backend

My Mac Mini M1 should get home today :)
by Fred
Thu Sep 30, 2021 4:58 pm
Forum: Coding Questions
Topic: Bulletproof replacement for RunProgram()
Replies: 7
Views: 918

Re: Bulletproof replacement for RunProgram()

I just tried as well:

Code: Select all

Debug RunProgram("notepad444.exe")


and it returns 0. May be an antivirus stuff ?
by Fred
Thu Sep 30, 2021 1:33 pm
Forum: Announcement
Topic: PureBasic 6.00 Alpha 5 released !
Replies: 245
Views: 50433

Re: PureBasic 6.00 Alpha 5 released !

User_Russian wrote: Wed Sep 29, 2021 7:50 pm In "PureBasic 6.00 Alpha 5 x86" polink.exe version 8.0.2.0, but I checked and work perfectly version 10.0.0.0
Version 8 is the last 32-bit version of polink, all other are compiled in 64-bit, which means it won't work on a a 32-bit Windows.
by Fred
Thu Sep 30, 2021 12:44 pm
Forum: Coding Questions
Topic: Linker error for "IsUserAdmin_"
Replies: 3
Views: 604

Re: Linker error for "IsUserAdmin_"

I moved it to coding question, as you won't be probably the only one to have this issue.
by Fred
Thu Sep 30, 2021 12:43 pm
Forum: Bugs - C backend
Topic: [Done] PB6.0 Alpha 4 - IMA due to procedure size limit?
Replies: 6
Views: 2045

Re: [PB6.0 Alpha 4] - IMA due to procedure size limit?

No problem, if it happens again, don't hesitate to drop a word.
by Fred
Thu Sep 30, 2021 12:40 pm
Forum: Coding Questions
Topic: Check if a file exists somewhere in the path
Replies: 6
Views: 695

Re: Check if a file exists somewhere in the path

You can parse the environment variable "PATH" and check all the path with your exe.
by Fred
Wed Sep 29, 2021 4:36 pm
Forum: Announcement
Topic: PureBasic 6.00 Alpha 5 released !
Replies: 245
Views: 50433

Re: PureBasic 6.00 Alpha 5 released !

False positive.
by Fred
Wed Sep 29, 2021 4:09 pm
Forum: Bugs - C backend
Topic: [Done] Assembler error for accessibility APIs
Replies: 5
Views: 755

Re: Assembler error for accessibility APIs

Ok, I get the error here as well.
by Fred
Wed Sep 29, 2021 3:10 pm
Forum: Bugs - C backend
Topic: [Done] PB6.0 Alpha 4 - IMA due to procedure size limit?
Replies: 6
Views: 2045

Re: [PB6.0 Alpha 4] - IMA due to procedure size limit?

Anyone else can test it to see if it crash as well ?
by Fred
Wed Sep 29, 2021 3:08 pm
Forum: Coding Questions
Topic: Linker error for "IsUserAdmin_"
Replies: 3
Views: 604

Re: Linker error for "_IsUserAdmin"

This command is not part of official setupapi.lib and is not documented in the MSDN as you can see here: https://docs.microsoft.com/en-us/windows/win32/setupapi/functions. It was added manually when we did the description with an automated tool, but it was an error. You can still call this hidden fu...