Search found 32 matches

by wawavoun
Fri Apr 05, 2024 9:21 pm
Forum: Coding Questions
Topic: Windows 10 - PB10 - Linker error
Replies: 10
Views: 1672

Windows 10 - PB10 - Linker error

Hi All,

Under W10 I have problem with 6.10 LTS final release of Purebasic.

Using the Compile/Run command compiling is going well but just after I got a <<Purebasic - Linker error>> saying "error:Accès refusé".

I already see a problem with the linker on beta 9 but the message was not the same ...
by wawavoun
Mon Mar 11, 2024 8:28 am
Forum: Coding Questions
Topic: Purebasic 6.10 beta 6
Replies: 9
Views: 1366

Re: Purebasic 6.10 beta 6

Re,

Thanks to all and especially to Daniel.
I will try the proposed solution this evening.

I have only one Windows system and one antivirus software. Trying 6.04 and PureBasic works, then trying 6.10b6 or b7 and the antivirus react.
I know that PureBasic is not the real source of the problem but ...
by wawavoun
Sun Mar 10, 2024 9:10 pm
Forum: Coding Questions
Topic: Purebasic 6.10 beta 6
Replies: 9
Views: 1366

Re: Purebasic 6.10 beta 6

Hi All,

The problem is still here with 6.10 beta 7...
Version 6.04 works like a charm with the same Avira version and I expect that someone can explain what has changed between the two versions ?

The next PureBasic stable release is probably more or less ready and if no change is made somewhere ...
by wawavoun
Sat Feb 10, 2024 6:04 pm
Forum: Coding Questions
Topic: Purebasic 6.10 beta 6
Replies: 9
Views: 1366

Purebasic 6.10 beta 6

Hi,

Under Windows 10 this version tilt my Avira antivirus with something call HEUR/APC.

This occur after compile + run a purebasic application.
The file is something like ....Compilation0.exe located into user/temp.

PB 6.04 LTS works well.

I dont want to avoid scan in this temp directory.

How ...
by wawavoun
Tue Aug 15, 2023 1:24 pm
Forum: Coding Questions
Topic: cursor management
Replies: 9
Views: 1203

Re: cursor management

During your test with the busy cursor did you use this dovents loop ?
by wawavoun
Tue Aug 15, 2023 12:19 pm
Forum: Coding Questions
Topic: cursor management
Replies: 9
Views: 1203

Re: cursor management

Thanks but dont do the job I expect...
by wawavoun
Tue Aug 15, 2023 11:44 am
Forum: Coding Questions
Topic: cursor management
Replies: 9
Views: 1203

Re: cursor management

I apologize if I have been unclear.

My problem is not in the case of an interrupted calculation loop.

My question is : what to do just after the setgadgetattribute(#canvas...) and before the calculation loop start in order to have the new cursor on the screen ?

If I remember correctly under VB ...
by wawavoun
Tue Aug 15, 2023 10:44 am
Forum: Coding Questions
Topic: cursor management
Replies: 9
Views: 1203

cursor management

Hello,

I try to use the function setgadgetattribute(#canvas, #pb_canvas_cursor, #pb_cursor_busy) before a long calculation loop (and reverse to default cursor at the end of the loop).
The code run without error or warning.

But the cursor dont change (at least under linux) under normal situation ...
by wawavoun
Sun Aug 06, 2023 3:59 pm
Forum: Coding Questions
Topic: Question about popup menu
Replies: 10
Views: 1145

Re: Question about popup menu

Works well !
Now I have to understand how !!!

Thanks a lot.
Philippe
by wawavoun
Sun Aug 06, 2023 1:22 pm
Forum: Coding Questions
Topic: Question about popup menu
Replies: 10
Views: 1145

Re: Question about popup menu

That s exactly what I do but the EventMenu item is not into the gadget procedure call parameters...
There is only EventType()...
by wawavoun
Sun Aug 06, 2023 1:11 pm
Forum: Coding Questions
Topic: Question about popup menu
Replies: 10
Views: 1145

Re: Question about popup menu

I think I found the problem.

The CanvasGad procedure is called from a MainWindow(event) loop with a CanvasGad(Eventtype()) instruction created by the form designer...

I have to think how to change this... But I want to avoid to made any change "by hand" into the pbf file.

Any idea ?
Thanks ...
by wawavoun
Sun Aug 06, 2023 10:32 am
Forum: Coding Questions
Topic: Question about popup menu
Replies: 10
Views: 1145

Question about popup menu

Hello,

Into a canvas gadget (canvas_0) I try to use a popup menu.

My code look like this :


blablabla...
;
If EventType=#PB_EventType_RightClick
;
; Ouvre le menu contextuel dans le canvas_0 si une ligne ou un arc est selectionné
;
If (DataTreeItem >= 3 + nbpoint And DataTreeItem <= 2 ...
by wawavoun
Thu Jul 27, 2023 7:12 am
Forum: Coding Questions
Topic: Keep a correct ratio for my app window
Replies: 4
Views: 740

Re: Keep a correct ratio for my app window

Thanks,

Its a huge piece of code for something looking simple (but sometime looking simple doesn't mean simple).

So I modify my question : what is the simplest way to do that (I dont care about flicker etc...) ?

Regards.
Philippe
by wawavoun
Wed Jul 26, 2023 7:56 pm
Forum: Coding Questions
Topic: Keep a correct ratio for my app window
Replies: 4
Views: 740

Keep a correct ratio for my app window

Hello,

I use a canvas into a window for 2ddrawing operations...

The canvas is resized if the window is resized by the operator. No problem.

Now what is the best way to manage things in order to keep the correct ratio H/W of the window and in turn of the canvas ?

The maths are not the problem ...
by wawavoun
Mon Jul 24, 2023 12:24 pm
Forum: Linux
Topic: PureBasic help display
Replies: 6
Views: 1130

Re: PureBasic help display

:mrgreen:
:idea:
:P

Thanks a lot !