Search found 1056 matches

by Olli
Sat Mar 02, 2024 8:54 am
Forum: Off Topic
Topic: Cookies required
Replies: 16
Views: 1420

Re: Cookies required

I tell the PB team the parasite page has changed this day. Now, I must do 59 settings before read only one page. To write this message, I had to do 3 * 59 settings ( = 157 settings). The parasite page does not contain the legal button << All refuse >>. https://upimg.ldvmultimedia.com/img/Screenshot_...
by Olli
Thu Feb 29, 2024 11:31 am
Forum: Coding Questions
Topic: Canvas and #PB_Canvas_ClipMouse
Replies: 11
Views: 427

Re: Canvas and #PB_Canvas_ClipMouse

If you activate the canvas, what does it happen ?

Code: Select all

SetActiveGadget(2)
by Olli
Sat Feb 24, 2024 10:01 am
Forum: Off Topic
Topic: Risks and Benefits
Replies: 7
Views: 841

Re: Risks and Benefits

Thank you Piero for this detail, you focused.
by Olli
Thu Feb 22, 2024 12:14 am
Forum: Coding Questions
Topic: OpenGL dot / cross Functions
Replies: 10
Views: 361

Re: OpenGL dot / cross Functions

glGenBuffers _ () is detected by the whole version of pureBasic. Which calculation do you talk about ? -> if it is 3D, openGL or native Ogre3D are okay. If it is to for more general purposes, I join the advice of DarkDragon. Normally yes you can access to the result. If you can output a pointor valu...
by Olli
Wed Feb 21, 2024 10:05 pm
Forum: Coding Questions
Topic: OpenGL dot / cross Functions
Replies: 10
Views: 361

Re: OpenGL dot / cross Functions

"cross" I ignore if it exist. But "dot" exists in openGL. But it is as slow as there are lots of pixel colors to change. For best performances, maybe use a 3D mesh you display without texture in... "dot mode" (it seems that the 3 modes dot/line/textured exist). Do a bro...
by Olli
Wed Feb 21, 2024 9:55 pm
Forum: Coding Questions
Topic: StrD and Rounding
Replies: 17
Views: 571

Re: StrD and Rounding

We should do a best of all the times we break the ghoul in this floating binary format...
by Olli
Wed Feb 14, 2024 10:55 am
Forum: Feature Requests and Wishlists
Topic: StrD(1024, -2) could return "10"
Replies: 0
Views: 208

StrD(1024, -2) could return "10"

But :
[ERREUR] wrote:StrD(): Le nombre de décimales pour StrF() pu StrD() ne peut être négatif.
by Olli
Wed Feb 14, 2024 7:28 am
Forum: Coding Questions
Topic: Converting array C# to PB
Replies: 8
Views: 405

Re: Converting array C# to PB

mk-soft wrote: Tue Feb 13, 2024 10:25 pm Direct memory access ...
It is not the right way. In fact, what Otrebor wants, it is just a array of strings which support Chr(0).

From that, I presented the right code (normally without bug) in my last message.
by Olli
Tue Feb 13, 2024 9:50 pm
Forum: Coding Questions
Topic: Converting array C# to PB
Replies: 8
Views: 405

Re: Converting array C# to PB

All right. See you last message, you have to use the previous template code I presented ( dynamic arrays ), but exchange horizontal and vertical table objects. structure row array cell.a(0) endstructure procedure iDim(*frame.integer) *frame\i = allocateMemory(sizeOf(row) ) initializestructure(*frame...
by Olli
Tue Feb 13, 2024 4:23 pm
Forum: Coding Questions
Topic: Issue with Sizeof() and may be other...
Replies: 5
Views: 353

Re: Issue with Sizeof() and may be other...

To complete the answers of Stargate and juergenkulow, "character" is a pre-defined keyword.

Code: Select all

Define character.Q ; here, an error should occur.
Debug SizeOf(CHARACTER); displays 2

Define character2.q
Debug SizeOf(character2); displays 8
by Olli
Tue Feb 13, 2024 3:56 pm
Forum: Coding Questions
Topic: Converting array C# to PB
Replies: 8
Views: 405

Re: Converting array C# to PB

So, in this way, you can use the simpler static array :

Code: Select all

Dim _frameInValues.A(65535, 255) ; 16 megabytes sized array
pureBasic allows the coder to resize the second argument (255).

Code: Select all

Redim _frameInValues.A(65535, 383)
by Olli
Mon Feb 12, 2024 6:37 pm
Forum: Coding Questions
Topic: Converting array C# to PB
Replies: 8
Views: 405

Re: Converting array C# to PB

Second information : it is a question. Do you need the two dimensions are variable or, just only one ? Waiting your answer, here is an example of array building, when two dimensions can be changed : structure column array cell.a(0) endstructure dim *frame.column(3) ; 3+1 columns allocated columnHeig...
by Olli
Mon Feb 12, 2024 6:35 pm
Forum: Coding Questions
Topic: Converting array C# to PB
Replies: 8
Views: 405

Re: Converting array C# to PB

First info :

the byte range in C is between 0 and 255.

This seems like the ascii type in pureBasic.
by Olli
Mon Feb 05, 2024 7:30 pm
Forum: Coding Questions
Topic: Waiting Screen with transparent background
Replies: 20
Views: 1136

Re: Waiting Screen with transparent background

Code: Select all

SetWindowLongPtr_(WindowID(0), #GWL_EXSTYLE, GetWindowLongPtr_(WindowID(0), #GWL_EXSTYLE)&~#WS_EX_LAYERED)
by Olli
Wed Jan 31, 2024 5:58 pm
Forum: Off Topic
Topic: Cookies required
Replies: 16
Views: 1420

Re: Cookies required

I added this, Fred :

<< An example of site without this new problem : http://www.w3schools.com >>

It is really a subversive attack against your projects. And I thank you to having had the mind allowing to communicate and to describe this change on the margin of your shares.