PureBasic 3.91 Beta 1

Developed or developing a new product in PureBasic? Tell the world about it.
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

I just tried it and it seems to work. Do you have a snippet where it fails ?
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Post by GPI »

PolyVector wrote: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?
BTW: Where is the problem:
#S_OK: Initalized successfull -> You can use it
#S_FALSE: Allready initalized -> You can use it

Or do i missunderstand something?
PolyVector
Enthusiast
Enthusiast
Posts: 499
Joined: Wed Sep 17, 2003 9:17 pm
Location: Southern California
Contact:

Post by PolyVector »

@Fred/Everyone
I was wrong about it being PB... It was actually the EC OLE Image Plugin.... Which is very odd seeing as I was using this plugin long before this beta version...???

Code: Select all

UseEC_OLEImageDecoder()
Ret=CoInitialize_(0)
Select Ret
  Case #S_OK
    Debug "#S_OK"
  Case #S_FALSE
    Debug "#S_FALSE"
EndSelect
Try commenting out the UseEC_OLEImageDecoder() line to see what I mean...


@GPI
I did say I was using the code:

Code: Select all

if CoInitialize_(#NULL)=#S_OK
;/Do something
It's only a problem if it isn't documented that COM is already initialized...
Raven
User
User
Posts: 45
Joined: Tue Jul 15, 2003 4:03 pm
Location: England

Post by Raven »

Visual C++ support. This should come in very useful indeed.
I know it is a simple request (and yes i know someone will post the ASM work around), but is there a chance you could add the VOID type that C has. It is a sorely missed type, especially when dealing with C libraries.

:)
El_Choni
TailBite Expert
TailBite Expert
Posts: 1007
Joined: Fri Apr 25, 2003 6:09 pm
Location: Spain

Post by El_Choni »

That plugin initializes COM access at program start, because it needs it, and uninitializes it at program end. There shouldn't be any problem with it as long as your own CoInitialize has a corresponding CoUninitialize.

However, be sure to use the last version of the plugin (2.3)
El_Choni
dell_jockey
Enthusiast
Enthusiast
Posts: 767
Joined: Sat Jan 24, 2004 6:56 pm

Post by dell_jockey »

Raven wrote:I know it is a simple request (and yes i know someone will post the ASM work around), but is there a chance you could add the VOID type that C has. It is a sorely missed type, especially when dealing with C libraries.
The VOID type would be very welcome indeed, especially so if we would also get type casts.
cheers,
dell_jockey
________
http://blog.forex-trading-ideas.com
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

Please no bugreports here, they will probably be overlooked.

moved here: => viewtopic.php?t=10789&highlight=

Timo
quidquid Latine dictum sit altum videtur
Ralf
Enthusiast
Enthusiast
Posts: 203
Joined: Fri May 30, 2003 1:29 pm
Location: Germany

Post by Ralf »

nice work fred!
echnaton
New User
New User
Posts: 1
Joined: Mon May 10, 2004 10:08 am

Mac Osx Version

Post by echnaton »

Hi,

is there a beta Version for Mac OS X ?

Im a willing Betatester :))
KarLKoX
Enthusiast
Enthusiast
Posts: 681
Joined: Mon Oct 06, 2003 7:13 pm
Location: France
Contact:

Re: PureBasic 3.91 Beta 1

Post by KarLKoX »

Fred wrote:(Visual C++ lib are now accepted
They were allready accepted, at least, i get no problems to use them since i use purebasic (3.61 or so), but now it is official :)
Btw, PellesC can't compile my userlib written in C but lcc does, this compiler does strange things :roll:
"Qui baise trop bouffe un poil." P. Desproges

http://karlkox.blogspot.com/
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

Hi to all PB team, and to all users PBadmirers & lovers.
Thanks again Fred :wink: :arrow:
User avatar
waffle
Enthusiast
Enthusiast
Posts: 129
Joined: Mon May 12, 2003 1:34 pm
Location: USA
Contact:

Post by waffle »

I wonder if the visual c++ thing is part of fred's plan to import a vc++ directx lib directly into PB .....

nuclearglory has a pretty good collision system, but its in vc++ and i'm not sure how to use it in PB. Perhaps all this will change in version PB4 :)
Code is good... Its an international language.
Beach
Enthusiast
Enthusiast
Posts: 677
Joined: Mon Feb 02, 2004 3:16 am
Location: Beyond the sun...

Post by Beach »

I was able to compile true color icons before this beta release. Is there something I need to do to turn this back on? Here is an example (posted in another thread)

Image
Thanks!
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Post by GPI »

Beach wrote:I was able to compile true color icons before this beta release. Is there something I need to do to turn this back on? Here is an example (posted in another thread)

Image
Thanks!
The problem is porc, which doesn't support 24-bit-Icons.
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

Is it possible to get this icon or another one which fails ? The XP like icons we tried seems to be behave correctly. Thanks !
Post Reply