Thanks. Looking forward to the all-singing, all-dancing v4.00
PureBasic 3.91 Beta 1
Re: PureBasic 3.91 Beta 1
This is very good newsFred wrote:smaller executable footprint (MessageBox_() program is now 2kb), XP manifest are now included in the exe
C++
Compiled my project:
v3.81: 96 kb
v3.90: 100 kb unchanged code gets bigger without implementing new features? must be some additional checks? I want less checks and more speed
v3.91: 98 kb well better than nothing
A new sub-number just for a new linker? Why not wait until some bugs are fixed? You only have 8 releases left until 4.00 and this means completely new compiler core...
v3.81: 96 kb
v3.90: 100 kb unchanged code gets bigger without implementing new features? must be some additional checks? I want less checks and more speed
v3.91: 98 kb well better than nothing
A new sub-number just for a new linker? Why not wait until some bugs are fixed? You only have 8 releases left until 4.00 and this means completely new compiler core...
- NoahPhense
- Addict

- Posts: 1999
- Joined: Thu Oct 16, 2003 8:30 pm
- Location: North Florida
..
3.91 Beta 2Thomas wrote:Compiled my project:
v3.81: 96 kb
v3.90: 100 kb unchanged code gets bigger without implementing new features? must be some additional checks? I want less checks and more speed
v3.91: 98 kb well better than nothing
A new sub-number just for a new linker? Why not wait until some bugs are fixed? You only have 8 releases left until 4.00 and this means completely new compiler core...
3.91 Beta 3
3.91 Beta 4, etc...
or
3.91b Beta 2
3.91c Beta 1
Technically he could have an infinite amount of releases prior to 4.0..
3.91 Beta 2.2
lol
- np
- NoahPhense
- Addict

- Posts: 1999
- Joined: Thu Oct 16, 2003 8:30 pm
- Location: North Florida
..
(chuckle)Num3 wrote:LOL...
PB version numbers are stored in a float... like this 3.91000000000000000000
![]()
That's why Fred didn't implement doubles yet
- np
- NoahPhense
- Addict

- Posts: 1999
- Joined: Thu Oct 16, 2003 8:30 pm
- Location: North Florida
..
until then...fweil wrote:I'am expecting so much for double floats !
Code: Select all
Structure iSQPDouble
Hi.l
Lo.l
EndStructure
Procedure MakeiSQPDouble(LONG.f, ADDRESS.l)
!FLD dword [ Esp ]
!MOV dword Eax, [ Esp + 4 ]
!FSTP qword [ Eax ]
EndProcedure
Procedure.l iSEDDrawImage(Left.f, Top.f, Width.f, Height.f)
dLeft.iSQPDouble
dTop.iSQPDouble
dWidth.iSQPDouble
dHeight.iSQPDouble
MakeiSQPDouble(Left.f, @dLeft)
MakeiSQPDouble(Top.f, @dTop)
MakeiSQPDouble(Width.f, @dWidth)
MakeiSQPDouble(Height.f, @dHeight)
ProcedureReturn CallFunctionFast(FPDrawImage, dLeft\Hi, dLeft\Lo, dTop\Hi, dTop\Lo, dWidth\Hi, dWidth\Lo, dHeight\Hi, dHeight\Lo)
EndProcedureHi, TBPro are not working
POLINK: error: Unresolved external symbol 'EXTERN'.
POLINK: error: Unresolved external symbol 'TB_Border_Style'.
POLINK: error: Unresolved external symbol 'TB_Flat_Style'.
POLINK: error: Unresolved external symbol 'TB_Direction'.
POLINK: fatal error: 4 unresolved external(s).
POLINK: error: Unresolved external symbol 'EXTERN'.
POLINK: error: Unresolved external symbol 'TB_Border_Style'.
POLINK: error: Unresolved external symbol 'TB_Flat_Style'.
POLINK: error: Unresolved external symbol 'TB_Direction'.
POLINK: fatal error: 4 unresolved external(s).
-
PolyVector
- Enthusiast

- Posts: 499
- Joined: Wed Sep 17, 2003 9:17 pm
- Location: Southern California
- Contact:
Well, the usual "for testing purpose only...", and the news:
- Added IsDatabase(), IsFile(), IsFont(), IsDirectory(), IsGadget(), IsImage(), IsLibrary(), IsMenu(), IsModule(), IsMovie(), IsPalette(), IsSprite(), IsSprite3D(), IsStatusBar(), IsSysTrayIcon(), IsToolBar(), IsWindow()
- Manifest file (for XP skins) is now included in the exe
- Changed the LCC resource compiler and linker to PellesC one which brings several cool features: allow to link with VisualC++ .lib, smaller executable, no more Lcc dependency.
-
PolyVector
- Enthusiast

- Posts: 499
- Joined: Wed Sep 17, 2003 9:17 pm
- Location: Southern California
- Contact:
@Fred
I had this line in a number of my programs...
It stopped working when I updated to 3.91 Beta 1 because CoInitialize_() started returning #S_FALSE...
From the MSDN:
I had this line in a number of my programs...
Code: Select all
if CoInitialize_(#Null)=#S_OKFrom the MSDN:
Maybe there's something I'm missing here?S_OK
The COM library was initialized successfully on this thread.
S_FALSE
The COM library is already initialized on this thread.


