Page 1 of 2
PureBasic public beta 3.80 out !
Posted: Sun Sep 28, 2003 8:18 pm
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.
Posted: Sun Sep 28, 2003 8:29 pm
by Karbon
Wooooooooooooooooooooooooohoooooooooooooooooooooooooooo
*downloads and breaks stuff*
Posted: Sun Sep 28, 2003 9:10 pm
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?
Posted: Sun Sep 28, 2003 9:34 pm
by Karbon
I doubt it. That might be just enough to get people wanting more!!!
Ahhhhhhhhhhh
Posted: Sun Sep 28, 2003 9:39 pm
by freak
I'd say it is just enough for the anti-OOP guys to kill fred
Timo
Posted: Sun Sep 28, 2003 10:26 pm
by Fred
Did you know there is even basic inheritances for Interfaces ?
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...)
Posted: Mon Sep 29, 2003 5:02 am
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.

Posted: Mon Sep 29, 2003 5:32 am
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.
Posted: Mon Sep 29, 2003 9:06 am
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.
Posted: Mon Sep 29, 2003 10:04 am
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.
Posted: Mon Sep 29, 2003 11:46 am
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.
Posted: Mon Sep 29, 2003 2:11 pm
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?
Posted: Mon Sep 29, 2003 4:36 pm
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

Posted: Mon Sep 29, 2003 4:48 pm
by gnozal
ricardo wrote:
im not sure if users notice the importance of such step.
You are right
Perhaps you can post come tutorial about COM

?
Posted: Mon Sep 29, 2003 8:53 pm
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?