Page 2 of 4

Posted: Mon May 03, 2004 2:02 am
by Dare2
Whoa. My ISP goes down for 12 hours and another PB beta is released! If they went down for 7 days I'd log in to find version 4.00 is old hat.

Thanks. Looking forward to the all-singing, all-dancing v4.00 :)

Re: PureBasic 3.91 Beta 1

Posted: Mon May 03, 2004 12:05 pm
by omid-xp
Fred wrote:smaller executable footprint (MessageBox_() program is now 2kb ;)), XP manifest are now included in the exe
This is very good news :P

C++ :wink:

Posted: Mon May 03, 2004 12:21 pm
by PWS32
Hi,

im have by compiling a big projekt this error :
POLINK: fatal error: Corrupt library: '..\PureLibraries\Windows\Libraries\ICMP.LIB'.

Posted: Mon May 03, 2004 6:34 pm
by Thomas
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 :P

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... :wink:

..

Posted: Mon May 03, 2004 7:45 pm
by NoahPhense
Thomas 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 :P

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... :wink:
3.91 Beta 2
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

Posted: Mon May 03, 2004 7:52 pm
by Num3
LOL...

PB version numbers are stored in a float... like this 3.91000000000000000000

:twisted:

That's why Fred didn't implement doubles yet ;)

..

Posted: Mon May 03, 2004 7:59 pm
by NoahPhense
Num3 wrote:LOL...

PB version numbers are stored in a float... like this 3.91000000000000000000

:twisted:

That's why Fred didn't implement doubles yet ;)
(chuckle)

- np

Posted: Mon May 03, 2004 8:05 pm
by fweil
I'am expecting so much for double floats !

..

Posted: Mon May 03, 2004 8:12 pm
by NoahPhense
fweil wrote:I'am expecting so much for double floats !
until then... ;)

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)
EndProcedure
- np

Posted: Mon May 03, 2004 8:22 pm
by PWS32
Hi, 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).

Posted: Mon May 03, 2004 9:16 pm
by PolyVector
it seems that PB now initializes COM... Took me a while to figure out why my ActiveX code was acting wierd...

This should be documented....

Posted: Tue May 04, 2004 12:32 am
by PB
>> What is full new changes ?
> Look in the readme.txt

I have a bad 56k connection and downloading a 4 MB file just to see the
readme.txt is too much hassle... can someone post the readme.txt here?

Posted: Tue May 04, 2004 12:50 am
by filperj
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.

Posted: Tue May 04, 2004 8:43 am
by Fred
PolyVector wrote:it seems that PB now initializes COM... Took me a while to figure out why my ActiveX code was acting wierd...

This should be documented....
What do you mean exactly ?

Posted: Tue May 04, 2004 8:57 am
by PolyVector
@Fred
I had this line in a number of my programs...

Code: Select all

if CoInitialize_(#Null)=#S_OK
It stopped working when I updated to 3.91 Beta 1 because CoInitialize_() started returning #S_FALSE...

From the MSDN:
S_OK
The COM library was initialized successfully on this thread.
S_FALSE
The COM library is already initialized on this thread.
Maybe there's something I'm missing here?