Hi, maybe there is already something similar on the forum,
but I just get this case and there is no information about it in PB help
Take PB standard example with packer work
Procedure UncompressPackFile()
Copy example to IDE and replace code at line 23 - 25
UseZipPacker()
Path$ = #PB_Compiler ...
Search found 55 matches
- Fri Dec 12, 2025 11:56 pm
- Forum: Bugs - Windows
- Topic: PackEntry info disappears when unpacking
- Replies: 0
- Views: 64
- Wed Dec 03, 2025 3:23 pm
- Forum: Tricks 'n' Tips
- Topic: Circles Glow
- Replies: 6
- Views: 292
Re: Circles Glow
Doesn't compile for me. Line 76 ("SetFrameRate") says there is no open screen.
comment this line
; SetFrameRate(60)
If OpenWindow(0, 0, 0, 800/DesktopResolutionX(), 600/DesktopResolutionY(), "Cercles Glow", #PB_Window_ScreenCentered )
uncomment this line
OpenWindowedScreen(WindowID(0), 0, 0 ...
- Thu Nov 27, 2025 8:18 am
- Forum: Coding Questions
- Topic: Setting a Child Window into Parent
- Replies: 11
- Views: 833
Re: Setting a Child Window into Parent
mk-soft v1.02.2
When I move a child window outside of the parent window and back it doesn't repaint (Windows)
When I move a child window outside of the parent window and back it doesn't repaint (Windows)
- Wed Nov 19, 2025 6:24 pm
- Forum: Coding Questions
- Topic: Logic error
- Replies: 3
- Views: 477
Re: Sprites numbers error
Seems like GrabSprite y coordinate always equal zero
PB 6.30b4
PB 6.30b4
- Wed Nov 19, 2025 12:07 pm
- Forum: Coding Questions
- Topic: Forced Preferences utf8 BOM
- Replies: 3
- Views: 382
Re: Forced Preferences utf8 BOM
... especially the CRLF at the end. :)
Thank Axolotl for answer
I agree with you to remove CRLF
I think that the meaning of #PB_Preference_NoBOM in CreatePreferences is lost if it appears independently
You need to check OpenPreferences for the presence of BOM and if it was present write it or ...
- Wed Nov 19, 2025 9:38 am
- Forum: Coding Questions
- Topic: Forced Preferences utf8 BOM
- Replies: 3
- Views: 382
Forced Preferences utf8 BOM
Hi,
when I want to change value my ini file becomes with BOM+CRLF (5 bytes: EF BB BF 0D 0A) again :|
#test_filename = "test_file.ini"
If CreatePreferences(#test_filename, #PB_Preference_NoBOM)
PreferenceGroup("main")
WritePreferenceString("key", "value1")
ClosePreferences()
EndIf ...
when I want to change value my ini file becomes with BOM+CRLF (5 bytes: EF BB BF 0D 0A) again :|
#test_filename = "test_file.ini"
If CreatePreferences(#test_filename, #PB_Preference_NoBOM)
PreferenceGroup("main")
WritePreferenceString("key", "value1")
ClosePreferences()
EndIf ...
- Sat Oct 04, 2025 12:11 am
- Forum: Bugs - Windows
- Topic: ResizeWindow don't work with Debugger
- Replies: 3
- Views: 1148
Re: ResizeWindow don't work with Debugger
No one except infratec answered
freak will say I need coffee ... more coffee today
freak will say I need coffee ... more coffee today
- Fri Oct 03, 2025 4:34 pm
- Forum: Bugs - Windows
- Topic: ResizeWindow don't work with Debugger
- Replies: 3
- Views: 1148
Re: ResizeWindow don't work with Debugger
infratec, foreground don't help me,
the window always freezes with stop on CallDebugger and Continue :|
I think this an old problem :wink:
What version of PB you tested?
And If you Insert Debug WindowX(0) the PB will lie :lol:
Debug WindowX(0)
CallDebugger
Debug WindowX(0 ...
the window always freezes with stop on CallDebugger and Continue :|
I think this an old problem :wink:
What version of PB you tested?
And If you Insert Debug WindowX(0) the PB will lie :lol:
Debug WindowX(0)
CallDebugger
Debug WindowX(0 ...
- Fri Oct 03, 2025 3:49 pm
- Forum: Bugs - Windows
- Topic: ResizeWindow don't work with Debugger
- Replies: 3
- Views: 1148
ResizeWindow don't work with Debugger
Hi,
I took a standard source from topic "Window" and insert CallDebugger after OpenWindow command and commented two lines with MessageRequester
After run with debugger program stoped on CallDebugger line, I press Continue, but now Window don't change X and Y coordinates, only sizes
If I commented ...
I took a standard source from topic "Window" and insert CallDebugger after OpenWindow command and commented two lines with MessageRequester
After run with debugger program stoped on CallDebugger line, I press Continue, but now Window don't change X and Y coordinates, only sizes
If I commented ...
- Thu Aug 28, 2025 1:18 pm
- Forum: Coding Questions
- Topic: Input of floating point numeric number in a window
- Replies: 8
- Views: 1098
Re: Input of floating point numeric number in a window
Also need a check, only one ',' char may be usedAxolotl wrote: Mon Aug 25, 2025 12:42 pm If you are on windows and not afraid of using API maybe this can be a start
- Mon Aug 25, 2025 11:15 am
- Forum: Coding Questions
- Topic: Input of floating point numeric number in a window
- Replies: 8
- Views: 1098
Re: Input of floating point numeric number in a window
Code: Select all
input.s = InputRequester("Enter a float number", "Float:", "")
If input
float.f = ValF(input)
Debug "Float is " + StrF(float)
Else
Debug "Canceled"
EndIf- Mon Aug 25, 2025 10:47 am
- Forum: Game Programming
- Topic: Volumetric clouds [CODE]
- Replies: 24
- Views: 3918
Re: Volumetric clouds [CODE]
I can't control the camera, it constantly turns to the right. The arrows keys don't fart
Clouds look very beautiful. PureBasic 6.21 (Windows - x64)
Clouds look very beautiful. PureBasic 6.21 (Windows - x64)
- Sat Aug 02, 2025 10:02 am
- Forum: Coding Questions
- Topic: window With no Title And With no taskbar icon?
- Replies: 11
- Views: 848
Re: window With no Title And With no taskbar icon?
Ha, ha, ha ... really, no title, no taskbar
- Sat Jul 12, 2025 10:21 am
- Forum: Coding Questions
- Topic: Order of JSON items
- Replies: 9
- Views: 971
Re: Order of JSON items
Hello Sergey,
your example does not work in my case.
I want to get the name in the same order as it is written, but I get Tom, Michel, Peter.
I gave you an idea how to order object members list
See Mijikai's exmaple
Interesting, here is what i came up with.
Hello, Mijikai. Yes, that's ...
- Fri Jul 11, 2025 11:29 pm
- Forum: The PureBasic Editor
- Topic: IDE Tool "Jump to Marker"
- Replies: 25
- Views: 5203
Re: IDE Tool "Jump to Marker"
Code: Select all
CompilerIf Not #PB_Compiler_DPIAware
MessageRequester("Warning", "Enable DPIAware", #PB_MessageRequester_Warning)
End
CompilerEndIf