Author |
Topic: LB Booster version 3.05 released (Read 746 times) |
|
Richard Russell
Administrator
member is offline
Posts: 1348
|
|
LB Booster version 3.05 released
« Thread started on: Jun 1st, 2016, 09:35am » |
|
I am pleased to announce the release of LB Booster version 3.05. It may be downloaded from here:
http://lbbooster.com/LBB.exe (IDE/compiler) http://lbbooster.com/LBBRUN.exe (optional runtime engine)
You will need administrative privileges when running the program for the first time after upgrading (in Windows Vista, 7, 8/8.1 and 10, with UAC enabled, use 'Run as administrator').
This release incorporates the following minor changes:
The FILEDIALOG statement has been reverted to its pre-3.01 behavior, see the detailed description below. This change slightly impairs compatibility with LB 4, but has been requested by users.
A new %options Compiler Directive allows you to control the 'Emulate Slicing' and 'Unicode Support' settings from your program's source code, to ensure they are correctly selected.
When using LB 4.5.0 functions it is no longer necessary to copy lb45func.bas into your program's directory. Simply appending the appropriate 'include directive is sufficient.
A memory leak that could sometimes result from using ON ERROR GOTO (for example to recover from an error in an OPEN statement) has been fixed. The revised behavior of FILEDIALOG is quite complicated:
If the supplied template$ contains an absolute path (i.e. a path starting at the root of the drive), and that directory exists, the dialog will open there. For example to open in DefaultDir$:
Code: FILEDIALOG "Absolute path", DefaultDir$ + "\*.log;*.txt", retVar$ If the supplied template$ contains a relative path, the dialog will open in the directory which has the specified relationship with the Current Directory. The Current Directory is usually, but not guaranteed to be, the same as DefaultDir$. For example to open in the parent directory:
Code: FILEDIALOG "Relative path", "..\*.log;*.txt", retVar$ If the supplied template$ contains no path, or the specified path does not exist, the dialog will open in a previously-selected directory (if any). The previously-selected directory is 'remembered' by Windows on a per-application basis, so when your program is compiled to an EXE it should open in the directory which was last selected in that program. For example:
Code: FILEDIALOG "Remembered", "*.log;*.txt", retVar$ Please note that, unavoidably, updating LBB.EXE will mean that its 'reputation' is reset and you may receive security warnings when you download it. This should resolve itself eventually when the new version has been downloaded a sufficient number of times for its safety to be established.
Richard.
|
|
Logged
|
|
|
|
joker
Global Moderator
member is offline
Gender:
Posts: 157
|
|
Re: LB Booster version 3.05 released
« Reply #1 on: Jun 1st, 2016, 09:47am » |
|
Now, that is a big deal. Thanks, Richard!
I'll have to find an opportunity to put this download in motion.
PS. I resisted, slightly, the urge to write, "You da man!"
|
|
Logged
|
|
|
|
pierscintilla
New Member
member is offline
Gender:
Posts: 30
|
|
Re: LB Booster version 3.05 released
« Reply #2 on: Jun 1st, 2016, 12:14pm » |
|
Thank you very much for the 3.5 release. I knew I could count on you !!
Pier
|
|
Logged
|
|
|
|
Mystic
Junior Member
member is offline
Gender:
Posts: 53
|
|
Re: LB Booster version 3.05 released
« Reply #3 on: Jun 1st, 2016, 4:52pm » |
|
Always enjoy an actual update and bug fixes.
Refreshing...
|
|
Logged
|
- Rick
|
|
|
Richard Russell
Administrator
member is offline
Posts: 1348
|
|
Re: LB Booster version 3.05 released
« Reply #4 on: Jun 2nd, 2016, 10:28pm » |
|
on Jun 1st, 2016, 09:35am, Richard Russell wrote:The Current Directory is usually, but not guaranteed to be, the same as DefaultDir$. |
|
In case anybody is puzzled by that statement, let me clarify that as far as I'm aware there are only a couple of circumstances when the Current Directory and DefaultDir$ can be different. The first is when the former has been changed as the result of an API call, for example:
Code: MyDir$ = "C:\MyPath\MyDirectory"
calldll #kernel32, "SetCurrentDirectoryA", MyDir$ as ptr, ret as long The second is when the DefaultDir$ variable is changed in an 'unusual' way, for example:
Code: call changedir DefaultDir$
end
sub changedir byref dir$
dir$ = "C:\MyPath\MyDirectory"
end sub In LBB, at least, changing DefaultDir$ 'conventionally' automatically changes the Current Directory to match:
Code: DefaultDir$ = "C:\MyPath\MyDirectory" You can use the 'Show LBB Pane' option to see what code this actually generates.
Richard.
|
|
|
|
Phineas Freak
New Member
member is offline
Gender:
Posts: 18
|
|
Re: LB Booster version 3.05 released
« Reply #5 on: Jun 24th, 2016, 10:15am » |
|
I am late to the party as it seems but i am glad to see that you did not stop developing LBB in spite of all the hostility and the other "stuff" by the LB admins.
Congratulations for your new releases!
|
|
Logged
|
|
|
|
|