PureBasic 3.91 Beta 1

Developed or developing a new product in PureBasic? Tell the world about it.
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post 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 :)
omid-xp
Enthusiast
Enthusiast
Posts: 119
Joined: Tue Jan 27, 2004 2:17 pm

Re: PureBasic 3.91 Beta 1

Post 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:
PWS32
User
User
Posts: 85
Joined: Sat May 10, 2003 1:02 pm
Location: Germany

Post by PWS32 »

Hi,

im have by compiling a big projekt this error :
POLINK: fatal error: Corrupt library: '..\PureLibraries\Windows\Libraries\ICMP.LIB'.
Thomas
Enthusiast
Enthusiast
Posts: 112
Joined: Sat Apr 26, 2003 8:45 pm

Post 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:
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

..

Post 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
Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Post 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 ;)
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

..

Post 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
fweil
Enthusiast
Enthusiast
Posts: 725
Joined: Thu Apr 22, 2004 5:56 pm
Location: France
Contact:

Post by fweil »

I'am expecting so much for double floats !
My avatar is a small copy of the 4x1.8m image I created and exposed at 'Le salon international du meuble à Paris' january 2004 in Matt Sindall's 'Shades' designers exhibition. The original laminated print was designed using a 150 dpi printout.
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

..

Post 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
PWS32
User
User
Posts: 85
Joined: Sat May 10, 2003 1:02 pm
Location: Germany

Post 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).
PolyVector
Enthusiast
Enthusiast
Posts: 499
Joined: Wed Sep 17, 2003 9:17 pm
Location: Southern California
Contact:

Post 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....
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post 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?
filperj
User
User
Posts: 77
Joined: Tue Sep 16, 2003 8:53 pm
Location: Nevers(France)

Post 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.
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post 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 ?
PolyVector
Enthusiast
Enthusiast
Posts: 499
Joined: Wed Sep 17, 2003 9:17 pm
Location: Southern California
Contact:

Post 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?
Post Reply