PureBasic 5.40 LTS beta 10 is out !

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
Falko
Enthusiast
Enthusiast
Posts: 271
Joined: Sat Oct 04, 2003 12:57 pm
Location: Germany
Contact:

Re: PureBasic 5.40 LTS beta 2 is out !

Post by Falko »

Thanks, Fred and team :D
www.falko-pure.de
Win11 Pro 64-Bit, PB_6.11b1
User avatar
majikeyric
Enthusiast
Enthusiast
Posts: 187
Joined: Mon Oct 21, 2013 5:21 pm
Location: France
Contact:

Re: PureBasic 5.40 LTS beta 2 is out !

Post by majikeyric »

Many thanks for all the great work you do on this fabulous product :D
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: PureBasic 5.40 LTS beta 2 is out !

Post by Fangbeast »

Yeah, thanks Fred. The latest updates have allowed me to visit some old projects. Now I will be less bored:):)
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
Liqu
User
User
Posts: 77
Joined: Sun Apr 21, 2013 10:31 am

Re: PureBasic 5.40 LTS beta 2 is out !

Post by Liqu »

Got this error with COMatePLUS.pbi after updating to 5.40 Beta:
hResult = CLSIDFromProgID_(progID, @clsid);
Bad parameter a string is expected.


this become error too
GetCurrentDirectory_(#MAX_PATH, CurrentPath$)
Bad parameter type, number expected instead of string
User avatar
DK_PETER
Addict
Addict
Posts: 904
Joined: Sat Feb 19, 2011 10:06 am
Location: Denmark
Contact:

Re: PureBasic 5.40 LTS beta 2 is out !

Post by DK_PETER »

Liqu wrote:Got this error with COMatePLUS.pbi after updating to 5.40 Beta:
hResult = CLSIDFromProgID_(progID, @clsid);
Bad parameter a string is expected.


this become error too
GetCurrentDirectory_(#MAX_PATH, CurrentPath$)
Bad parameter type, number expected instead of string

Code: Select all

Global CurPath.s = Space(#MAX_PATH)
GetCurrentDirectory_(#MAX_PATH, @CurPath)
Debug CurPath
Current configurations:
Ubuntu 20.04/64 bit - Window 10 64 bit
Intel 6800K, GeForce Gtx 1060, 32 gb ram.
Amd Ryzen 9 5950X, GeForce 3070, 128 gb ram.
Liqu
User
User
Posts: 77
Joined: Sun Apr 21, 2013 10:31 am

Re: PureBasic 5.40 LTS beta 2 is out !

Post by Liqu »

DK_PETER wrote:
Liqu wrote:Got this error with COMatePLUS.pbi after updating to 5.40 Beta:
hResult = CLSIDFromProgID_(progID, @clsid);
Bad parameter a string is expected.


this become error too
GetCurrentDirectory_(#MAX_PATH, CurrentPath$)
Bad parameter type, number expected instead of string

Code: Select all

Global CurPath.s = Space(#MAX_PATH)
GetCurrentDirectory_(#MAX_PATH, @CurPath)
Debug CurPath

Thank you DK_PETER,
it just a lot of codes with winapi that i have been collected become broken and need to be fixed,
even though it's was coded wrong in the first place but it works on previous version. Is auto convert function has been disabled?
Joubarbe
Enthusiast
Enthusiast
Posts: 703
Joined: Wed Sep 18, 2013 11:54 am
Location: France

Re: PureBasic 5.40 LTS beta 2 is out !

Post by Joubarbe »

Vector drawing, nice ! Great update !

[*] You should write somewhere (or do a check in checkinstall.sh) that libgtk-3-dev is now required.

[*] The toolbar is now buggy on Linux. It appears at the bottom, and there's still no vertical bar with ToolBarSeparator(), just a space : (Linux Mint 17.2 - Mint-X Controls theme, the toolbar appears at the bottom in ALL themes however)

Code: Select all

If OpenWindow(0, 0, 0, 150, 25, "ToolBar", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
  If CreateToolBar(0, WindowID(0))
    ToolBarStandardButton(0, #PB_ToolBarIcon_New)
    ToolBarStandardButton(1, #PB_ToolBarIcon_Open)
    ToolBarSeparator()
    ToolBarStandardButton(2, #PB_ToolBarIcon_Save)
  EndIf
  Repeat
    Event = WaitWindowEvent()
    If Event = #PB_Event_Menu
      Debug "ToolBar ID: "+Str(EventMenu())
    EndIf
  Until Event = #PB_Event_CloseWindow 
EndIf
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 5.40 LTS beta 3 is out !

Post by Fred »

Beta 3 is out !
User avatar
RSBasic
Moderator
Moderator
Posts: 1228
Joined: Thu Dec 31, 2009 11:05 pm
Location: Gernsbach (Germany)
Contact:

Re: PureBasic 5.40 LTS beta 3 is out !

Post by RSBasic »

Thank you very much!
Image
Image
User avatar
Falko
Enthusiast
Enthusiast
Posts: 271
Joined: Sat Oct 04, 2003 12:57 pm
Location: Germany
Contact:

Re: PureBasic 5.40 LTS beta 3 is out !

Post by Falko »

:D cool. Thanks ...
www.falko-pure.de
Win11 Pro 64-Bit, PB_6.11b1
c4s
Addict
Addict
Posts: 1981
Joined: Thu Nov 01, 2007 5:37 pm
Location: Germany

Re: PureBasic 5.40 LTS beta 3 is out !

Post by c4s »

Fred wrote:

Code: Select all

- Added: #PB_Ascii, #PB_UTF8 and #PB_Unicode support to Create/Open/ReadFile() to set the default write/read mode
Interesting, but it's not mentioned in the help file. Does it automatically call WriteStringFormat() when using CreateFile()? I would also suggest a similar new option for an "intuitive read mode" that reads/writes the default string format automatically...
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 5.40 LTS beta 3 is out !

Post by Fred »

No, it doesn't call WriteStringFormat() automatically, but all WriteString/WriteStringN() without any flags with uses the specified format
User avatar
kenmo
Addict
Addict
Posts: 2033
Joined: Tue Dec 23, 2003 3:54 am

Re: PureBasic 5.40 LTS beta 3 is out !

Post by kenmo »

Thanks for Beta 3! The UTF-8 support is getting better and more convenient with every update :)
c4s
Addict
Addict
Posts: 1981
Joined: Thu Nov 01, 2007 5:37 pm
Location: Germany

Re: PureBasic 5.40 LTS beta 3 is out !

Post by c4s »

Fred wrote:No, it doesn't call WriteStringFormat() automatically [...]
I really think this would be a neat little feature so I created a request over here: Automatically Read/Write Format for Read/Open/CreateFile()
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
User avatar
stefanpape
User
User
Posts: 14
Joined: Sun Aug 04, 2013 11:12 am

Re: PureBasic 5.40 LTS beta 3 is out !

Post by stefanpape »

First of all: Thank you for your excellent work!

But I have to say, that I'm a little bit disappointed, because I hoped, that now you will update the PrinterLib. For my project, with PureBasic I can find cross-platform solutions for all problems, but for one, I have no idea: If I want to print a document to a specific, pre-defined printer (not the standard printer, and without the printer requester), it's only possible with a Windows-User-Lib. But a cross-platform-solution on Mac and Windows is impossible. I hope really, that the PrinterLib gets an update soon, at least with this feature. It should be possible, to read all the installed printers and select one of this printers for the PrinterOutput().

Once more: I have big respect for your work, PureBasic is great.

Or is it possible and I cannot find the way?
Perhaps somebody who reads this, has an idea, how I can realize a cross platform printing solution on specified printers.
Post Reply