Basic4GL
« Basic4GL v2.4.3 is released »

Welcome Guest. Please Login or Register.
May 21, 2013, 9:12pm




Basic4GL :: BASIC4GL Boards :: Announcements :: Basic4GL v2.4.3 is released
   [Search This Thread] [Share Topic] [Print]
 AuthorTopic: Basic4GL v2.4.3 is released (Read 966 times)
Tom Mulgrew
Administrator
*****
member is offline

[avatar]

[msn]
[homepage]

Joined: Jul 2003
Gender: Male
Posts: 507
 Basic4GL v2.4.3 is released
« Thread Started on Aug 19, 2006, 7:06pm »

Okay, the next version is up on the main page.

This one has plugin DLL support, but is otherwise the same as the previous version. And as of yet there aren't any actual plugins for it!

I've also released the corresponding version of the plugin DLL. If you've been writing plugins with the experimental version, you'll need to update them to compile under the new SDK, otherwise they wont work with this Basic4GL version. I'm hoping the plugin SDK format wont change too much after this release (or if it does, that I can find a way to make Basic4GL backward compatible with older plugin DLL formats).
I've also added support for accessing the Basic4GL text display from inside a plugin, and accessing the screen (properties like width and height, and the ability to invoke swap-buffers).
There are a couple more basic examples that demonstrate how to do this.

-Tom
Link to Post - Back to Top  IP: Logged
davy
Global Moderator
*****
member is online
member is offline

[avatar]

[msn] [aim]
[homepage]

Joined: May 2006
Gender: Male
Posts: 1,049
Location: USA
 Re: Basic4GL v2.4.3 is released
« Reply #1 on Aug 20, 2006, 3:59pm »

Awesome! I'm sure I will figure them out if not... But could you list some of the improvements you've made to the dll capabilities? Regardless, this dll stuff is fun, are you still thinking about releasing a stripped down version of basic4gl?
Link to Post - Back to Top  IP: Logged

STT
Posts a lot
****
member is offline

[avatar]



Joined: Oct 2004
Gender: Male
Posts: 420
Location: In ur server stealing ur dataz
 Re: Basic4GL v2.4.3 is released
« Reply #2 on Aug 21, 2006, 1:34am »

Why realese a stripped down version?

Good stuff, btw.
Link to Post - Back to Top  IP: Logged

Tom Mulgrew
Administrator
*****
member is offline

[avatar]

[msn]
[homepage]

Joined: Jul 2003
Gender: Male
Posts: 507
 Re: Basic4GL v2.4.3 is released
« Reply #3 on Aug 21, 2006, 4:03am »


Quote:
Awesome! I'm sure I will figure them out if not... But could you list some of the improvements you've made to the dll capabilities? Regardless, this dll stuff is fun, are you still thinking about releasing a stripped down version of basic4gl?


They're not major...
But off the top of my head:

* Basic4GL remembers which plugin DLLs each program uses, and loads them when you load the program, so it's ready to run.

* Can fetch interfaces to the Basic4GL text system and OpenGL window.

* Can tell Basic4GL about objects created in the DLL, so that it calls the DLL to free them when the program finishes. Also assigns each object a number which you can return to the Basic4GL program (so you can assign it to a variable).
This is the same mechanism the Basic4GL built-in libraries for sprite handles, file handles etc.

* Added "ProcessMessages" function to plugin DLLs. This is a good place for processing windows messages, checking keystates etc.

* Added internal version number mechanism to plugin DLLs. So Basic4GL knows whether it's compatible with a plugin (incase it was written for a newer/older Basic4GL version). *May* allow me to build some backward compatibility into it if I need to change the plugin DLL mechanism again.

* Renamed some interfaces to make them more consistent. (They all now have _Basic4GL_ in the name.. To ensure the names don't clash with any code your plugin DLL uses.)


Snapper - There's a thread somewhere (search for "PluginBasic") about the benefits of a cut down version of Basic4GL that relies on plugins for all its functions. Briefly speaking it would mean smaller program distibutions if you don't use all the library functions, and wouldn't force you to use an OpenGL window if you had, for example, a DirectX window plugin.

-Tom
Link to Post - Back to Top  IP: Logged
Tom Mulgrew
Administrator
*****
member is offline

[avatar]

[msn]
[homepage]

Joined: Jul 2003
Gender: Male
Posts: 507
 Re: Basic4GL v2.4.3 is released
« Reply #4 on Aug 21, 2006, 4:05am »

Forgot to answer the question! I'll probably throw up a cut-down version with the next release, unless you (or anybody) wants something sooner. It's not hard to create one.

-Tom
Link to Post - Back to Top  IP: Logged
davy
Global Moderator
*****
member is online
member is offline

[avatar]

[msn] [aim]
[homepage]

Joined: May 2006
Gender: Male
Posts: 1,049
Location: USA
 Re: Basic4GL v2.4.3 is released
« Reply #5 on Aug 21, 2006, 10:04am »

I guess that depends how soon the next release will be. If you're talking 2 or 3 weeks then I can wait. But if it'll be longer then that, I would love to have it sooner. What all are you looking to cut out? I think the sprite engine, the network engine and maybe opengl itself.

But yeah, its no big thing really, but a stripped down basic4gl would pretty much be like being able to make your own basic language!
Link to Post - Back to Top  IP: Logged

Tom Mulgrew
Administrator
*****
member is offline

[avatar]

[msn]
[homepage]

Joined: Jul 2003
Gender: Male
Posts: 507
 Re: Basic4GL v2.4.3 is released
« Reply #6 on Aug 22, 2006, 5:00am »

The next release should be a while away. I want to get proper procedures and functions implemented. (It's the last real hole in the language..)

The cut-down version would be completely cut down.
It would basically have the language, plus the very core functions that are usually associated with BASIC (things like "len", "left$" etc).
There would be no I/O, and not even an OpenGL window.
It really would be up to the plugins to determine what the language would be capable of.

-Tom
Link to Post - Back to Top  IP: Logged
James :) (aka Madcow)
Posts heaps :)
*****
member is offline

[avatar]

Sup



Joined: Mar 2006
Gender: Male
Posts: 1,787
Location: UK
 Re: Basic4GL v2.4.3 is released
« Reply #7 on Sept 5, 2006, 4:25am »

i gonna make a dill compatible with the new version of basic 4gl and visual basic 6 .
Link to Post - Back to Top  IP: Logged

- James

There are 10 types of people in the world: Those who understand binary, and those who don't...
James :) (aka Madcow)
Posts heaps :)
*****
member is offline

[avatar]

Sup



Joined: Mar 2006
Gender: Male
Posts: 1,787
Location: UK
 Re: Basic4GL v2.4.3 is released
« Reply #8 on Sept 5, 2006, 4:41am »

impossible unless

basic 4gl reads the first three lines of it for the info like:
name
description
author

then compiles the code
Link to Post - Back to Top  IP: Logged

- James

There are 10 types of people in the world: Those who understand binary, and those who don't...
Nicky Peter Hollyoake
Global Moderator
*****
member is offline

[avatar]

You only see what you believe.



Joined: Apr 2006
Gender: Male
Posts: 1,984
Location: uk
 Re: Basic4GL v2.4.3 is released
« Reply #9 on Oct 13, 2006, 11:29pm »

Is Tom still going to be making updated versions? Cause now that he added that plugin we can make our own commands and I just don't know if hes still going to be updating it still and theres not many people making c++ DLL's so yeah it would be nice if he kept updating it still.
« Last Edit: Oct 13, 2006, 11:30pm by Nicky Peter Hollyoake »Link to Post - Back to Top  IP: Logged
James :) (aka Madcow)
Posts heaps :)
*****
member is offline

[avatar]

Sup



Joined: Mar 2006
Gender: Male
Posts: 1,787
Location: UK
 Re: Basic4GL v2.4.3 is released
« Reply #10 on Oct 17, 2006, 4:55pm »

yup he still is
Link to Post - Back to Top  IP: Logged

- James

There are 10 types of people in the world: Those who understand binary, and those who don't...
   [Search This Thread] [Share Topic] [Print]

Click Here To Make This Board Ad-Free


This Board Hosted For FREE By ProBoards
Get Your Own Free Message Boards & Free Forums!
Terms of Service | Privacy Policy | Notice | FTC Disclosure | Report Abuse | Mobile