PureBasic public beta 3.80 out !

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

PureBasic public beta 3.80 out !

Post by Fred »

Ok, it's the long awaited public beta for 3.80 (for registered users only):

http://www.purebasic.com/PureBasic_Beta_3.79b.zip

The news are enclosed in the archive.. some surprises of course :)

Test it and if you find any problems, report it in the bug section with 'Beta 3.80:' in the subject.

Enjoy ! ;)

Fred.
Karbon
PureBasic Expert
PureBasic Expert
Posts: 2010
Joined: Mon Jun 02, 2003 1:42 am
Location: Ashland, KY
Contact:

Post by Karbon »

Wooooooooooooooooooooooooohoooooooooooooooooooooooooooo

*downloads and breaks stuff*
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
User avatar
GedB
Addict
Addict
Posts: 1313
Joined: Fri May 16, 2003 3:47 pm
Location: England
Contact:

Post by GedB »

Code: Select all

MyClockObject.MyClockObject\VirtualTable = MyClockFunctions

MyClock.IMyClock= @MyClockObject


MyClock\SetTime(10)
MyClock\GetTime()

MyClock\SetName("My new clock name")
Do you think this will finally stop people asking for OO every other week?
Karbon
PureBasic Expert
PureBasic Expert
Posts: 2010
Joined: Mon Jun 02, 2003 1:42 am
Location: Ashland, KY
Contact:

Post by Karbon »

I doubt it. That might be just enough to get people wanting more!!!

Ahhhhhhhhhhh
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

I'd say it is just enough for the anti-OOP guys to kill fred :mrgreen:

Timo
quidquid Latine dictum sit altum videtur
Fred
Administrator
Administrator
Posts: 18220
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

Did you know there is even basic inheritances for Interfaces ? :oops:

try this:

Code: Select all


Interface IA
  a()
EndInterface

Interface IB extends IA  ; IB has a() as well
  b()
EndInterface

But it's not object oriented itself. It's just to access the external Object (COM and DX mainly) easily and without overhead. Once all the interfaces will be converted (soon) it will be a piece of cake to use all these cool objects (which seems to be the future of Windows so...)
User avatar
J. Baker
Addict
Addict
Posts: 2181
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

Post by J. Baker »

Was hoping to see more with the 3D but maybe next time. Engine3D.dll being smaller is nice. Keep up the good work, Fred. 8)
ricardo
Addict
Addict
Posts: 2438
Joined: Fri Apr 25, 2003 7:06 pm
Location: Argentina

Post by ricardo »

Hi Fred,

Does it means that we can be able to create a COM dll?????????????
This is possible now or in a near future?

How about call COM? Some example available?

Thanks and congratulations, you have the best compiler.
ARGENTINA WORLD CHAMPION
Fred
Administrator
Administrator
Posts: 18220
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

Yes, it's now easy to create COM dll, no problem. The provided code is a start for it, I need to finish it to show a complete framework of such DLL.
Justin
Addict
Addict
Posts: 948
Joined: Sat Apr 26, 2003 2:49 pm

Post by Justin »

Great, i would not care to pay for these updates from time to time.

About OOP, is there something like CreateObject() to use the registered objects?, like MSIE, etc?, i think there is an api call anyways.
Fred
Administrator
Administrator
Posts: 18220
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

You will need to use the API functions (probably CoCreateInstance_() or something like this) to get access to Windows Objects, but it will be really easy.
Justin
Addict
Addict
Posts: 948
Joined: Sat Apr 26, 2003 2:49 pm

Post by Justin »

I want to use the InternetExplorer object, a new app instance, not inside a window. i tried several combinations of CLSID and IWebbrowser but cocreateinstance() always fails. any help?

in other lang

obrowser=createobject("InternetExplorer.Application")

obrowser.navigate("http:\\www.foo")

is something like this possible?
ricardo
Addict
Addict
Posts: 2438
Joined: Fri Apr 25, 2003 7:06 pm
Location: Argentina

Post by ricardo »

Fred wrote:Yes, it's now easy to create COM dll, no problem. The provided code is a start for it, I need to finish it to show a complete framework of such DLL.
Oh!!!

Its really impressive, im not sure if users notice the importance of such step.

One of the most powerfull possibilities this days, is to develop some COM dll to use it on a webserver and call your procedures from html.

Excellent Fred, really amazing how fast and talented coder you are :D
ARGENTINA WORLD CHAMPION
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

ricardo wrote: im not sure if users notice the importance of such step.
You are right :oops:
Perhaps you can post come tutorial about COM :wink: ?
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Post by GPI »

Editor:
When the preference is open, i have access to the menu of the mainwindow, but nothing happend (because when the Preference window is open a seperate Mainloop is active)!
Two possiblities:
- Combine the two loops
- Disable the mainwindow with EnableWindow_(), so that the user can't activate it

IS 'a' not more a number than a constant?
Post Reply