PureBasic is AWESOME!

Just starting out? Need help? Post your questions and find answers here.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by stede.

I have only had PureBasic for a few weeks but I already can code some really cool stuff. Coming from VB and ASP I just think PureBasic rocks!

I am confused about COM and Direct3D though. Why doesn't PureBasic support them and when is the next version of PureBasic coming OUT? I am always AFRAID of wonderful programs developed by one or two programmers as a hobby. I always think the app is going to wind up like the Dinosaurs!

Stede Troisi
Troisi Consulting
http://troisiconsulting.tripod.com
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Danilo.

> I am confused about COM and Direct3D though.
> Why doesn't PureBasic support them

You can do this with the CallCOM() command,
but you have to do everything yourself and you
should be an experienced programmer, so you
know what you are doing.

CallCOM() is undocumented because there are
not many examples done yet and because the OOP
stuff isnt easy.
Everything (ATL, DirectX, COM, COM+, ActiveX, OLE ...much more)
works another way (the init part), but CallCOM()
can be used with all.

The problem is that we didnt figure out all the
different stuff yet (i dont need it atm, so i dont care),
so there are no examples available.
And you need to read the C/C++ headers from the
MS Platform SDK yourself and translate the interface
to values. For most BASIC coders this is way too much..

I can send you example with DirectDraw and translated
DirectDraw header if you want.

cya,
...Danilo
(registered PureBasic user)

Edited by - Danilo on 13 July 2002 05:30:34
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by stede.

Thanks, that would be great!
> I am confused about COM and Direct3D though.
> Why doesn't PureBasic support them

You can do this with the CallCOM() command,
but you have to do everything yourself and you
should be an experienced programmer, so you
know what you are doing.

CallCOM() is undocumented because there are
not many examples done yet and because the OOP
stuff isnt easy.
Everything (ATL, DirectX, COM, COM+, ActiveX, OLE ...much more)
works another way (the init part), but CallCOM()
can be used with all.

The problem is that we didnt figure out all the
different stuff yet (i dont need it atm, so i dont care),
so there are no examples available.
And you need to read the C/C++ headers from the
MS Platform SDK yourself and translate the interface
to values. For most BASIC coders this is way too much..

I can send you example with DirectDraw and translated
DirectDraw header if you want.

cya,
...Danilo
(registered PureBasic user)

Edited by - Danilo on 13 July 2002 05:30:34
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by PB.

> when is the next version of PureBasic coming OUT?

Not too far away (I'd guess less than a month).

> I am always AFRAID of wonderful programs developed by one or two programmers
> as a hobby. I always think the app is going to wind up like the Dinosaurs!

You don't have to worry about that with PureBasic. Take a look at this page
and you'll see how often the updates are done: http://www.purebasic.com


PB - Registered PureBasic Coder
Post Reply