PureBasic 3.91 Beta 1
BTW: Where is the problem:PolyVector wrote:From 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.
#S_OK: Initalized successfull -> You can use it
#S_FALSE: Allready initalized -> You can use it
Or do i missunderstand something?
-
- Enthusiast
- Posts: 499
- Joined: Wed Sep 17, 2003 9:17 pm
- Location: Southern California
- Contact:
@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...???
Try commenting out the UseEC_OLEImageDecoder() line to see what I mean...
@GPI
I did say I was using the code:
It's only a problem if it isn't documented that COM is already initialized...
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
@GPI
I did say I was using the code:
Code: Select all
if CoInitialize_(#NULL)=#S_OK
;/Do something
-
- Enthusiast
- Posts: 767
- Joined: Sat Jan 24, 2004 6:56 pm
The VOID type would be very welcome indeed, especially so if we would also get type casts.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.
Please no bugreports here, they will probably be overlooked.
moved here: => viewtopic.php?t=10789&highlight=
Timo
moved here: => viewtopic.php?t=10789&highlight=
Timo
quidquid Latine dictum sit altum videtur
Mac Osx Version
Hi,
is there a beta Version for Mac OS X ?
Im a willing Betatester
)
is there a beta Version for Mac OS X ?
Im a willing Betatester

Re: PureBasic 3.91 Beta 1
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 officialFred wrote:(Visual C++ lib are now accepted

Btw, PellesC can't compile my userlib written in C but lcc does, this compiler does strange things :roll:
- Psychophanta
- Always Here
- Posts: 5153
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Anare
- Contact:
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
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.