Search found 1346 matches
- Tue Apr 23, 2024 3:40 pm
- Forum: General Discussion
- Topic: Tools and Configurations for PureBasic
- Replies: 0
- Views: 33
Tools and Configurations for PureBasic
Download for Windows: yandex.ru upload.ee Download for Linux: yandex.ru I made an archive to quickly set up PureBasic. Unpack the archive and place PureBasic in it, and you will immediately have a configured IDE with tools. But the language used there is Russian, so you need to switch the language a...
- Tue Apr 23, 2024 10:59 am
- Forum: Bugs - Windows
- Topic: Packer - AddPackFile() bug
- Replies: 2
- Views: 88
Re: Packer - AddPackFile() bug
Show me an example of how you create a folder. I have to specify the file as source to create an empty folder.
Code: Select all
Debug AddPackFile(0, filename, "folder/")
- Tue Apr 23, 2024 10:18 am
- Forum: Bugs - Windows
- Topic: Packer - corrupted ZIP file
- Replies: 1
- Views: 101
Re: Packer - corrupted ZIP file
Newbies are not allowed to write in the "Bugs" section UseZipPacker() Define filename.s = "c:\temp\schema.sql" If CreatePack(0, "c:\temp\test.zip") Debug AddPackFile(0, filename, "temp/schema.sql") ClosePack(0) EndIf It seems to me that for Windows you should ...
- Mon Apr 22, 2024 11:22 pm
- Forum: Coding Questions
- Topic: Problems with: #PB_EventType_LeftClick
- Replies: 6
- Views: 243
Re: Problems with: #PB_EventType_LeftClick
Code: Select all
Repeat
Select WaitWindowEvent()
Case #WM_LBUTTONDOWN
If GetActiveGadget() = Index_List
Debug 1
EndIf
; Case #WM_LBUTTONDBLCLK
; If GetActiveGadget() = Index_List
; Debug 2
; EndIf
Case #PB_Event_Gadget
- Mon Apr 22, 2024 1:53 pm
- Forum: Coding Questions
- Topic: Thread Parameters?
- Replies: 25
- Views: 1347
Re: Thread Parameters?
Global param$ Global semaphore = CreateSemaphore() Procedure MyThread_One(param) Debug "Cook: preparing food" Sleep_(3000) SignalSemaphore(semaphore) Debug "Cook: the food is ready, you can eat" EndProcedure Procedure MyThread_Two(param) Debug "Client: I eat food" Slee...
- Mon Apr 22, 2024 12:53 am
- Forum: Coding Questions
- Topic: Problems with: #PB_EventType_LeftClick
- Replies: 6
- Views: 243
Re: Problems with: #PB_EventType_LeftClick
As far as I remember, the EditorGadget gadget does not have re-click events. When an event from receiving focus has arrived, then no further new events of receiving focus occur since the object is already in focus. Place the cursor in the input field on the left and then on EditorGadget and you will...
- Sun Apr 21, 2024 5:13 am
- Forum: Coding Questions
- Topic: Speed up loop
- Replies: 13
- Views: 578
Re: Speed up loop
I could rewrite everything, but I'm too lazy. 1. Len(myString) is calculated 2 times in a loop. Does the length of the string change somewhere? 2. S=S+ASCII_CHARS(CharIndex) S+ASCII_CHARS(CharIndex) 3. Every time you add a character, you over-allocate memory. It is necessary to make a buffer and wri...
- Sat Apr 20, 2024 2:01 pm
- Forum: Coding Questions
- Topic: Thread Parameters?
- Replies: 25
- Views: 1347
Re: Thread Parameters?
The Semaphore approach isn't going to work for me, because "Global Semaphore.i = CreateSemaphore()" is global and my threads are going to be called more than once, so a global semaphore for a thread is going to send the signal to the wrong thread callers, right? Semaphore is like a flag, ...
- Fri Apr 19, 2024 9:18 pm
- Forum: Applications - Feedback and Discussion
- Topic: TextReplace
- Replies: 5
- Views: 1794
Re: TextReplace
Watch my video on how I use my old version of the program as a tool for finding code snippets.
- Fri Apr 19, 2024 9:07 pm
- Forum: Bugs - Documentation
- Topic: "See Also" section
- Replies: 1
- Views: 116
"See Also" section
Here is a list of functions that should have a link between them
FindString <-> ReplaceString
Prototype <-> Building a DLL
CreatePopupImageMenu <-> SysTrayIconMenu
ReplaceString <-> ReplaceRegularExpression
Structure <-> Compiler Functions
FindString <-> ReplaceString
Prototype <-> Building a DLL
CreatePopupImageMenu <-> SysTrayIconMenu
ReplaceString <-> ReplaceRegularExpression
Structure <-> Compiler Functions
- Fri Apr 19, 2024 9:02 pm
- Forum: Bugs - Documentation
- Topic: [Done] SysTrayIconMenu
- Replies: 1
- Views: 93
[Done] SysTrayIconMenu
1. There should be 2 parameters
2. #MenuID must be a MenuID
2. #MenuID must be a MenuID
- Fri Apr 19, 2024 6:43 pm
- Forum: Announcement
- Topic: PureBasic.chm modern style
- Replies: 24
- Views: 5993
- Thu Apr 18, 2024 5:49 am
- Forum: General Discussion
- Topic: PureBasic v6.10 is producing a file size 5 times bigger than v6.04
- Replies: 21
- Views: 1684
- Wed Apr 17, 2024 9:01 am
- Forum: General Discussion
- Topic: PureBasic v6.10 is producing a file size 5 times bigger than v6.04
- Replies: 21
- Views: 1684
- Tue Apr 16, 2024 5:31 pm
- Forum: Coding Questions
- Topic: Detect TaskBar events [Resolved]
- Replies: 8
- Views: 709