BBC BASIC
« ODBCLIB library for BB4W »

Welcome Guest. Please Login or Register.
Jan 23rd, 2018, 4:25pm


Cross-platform BBC BASIC (Win32, Linux x86, Android, Mac OS-X, Raspberry Pi)

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: ODBCLIB library for BB4W  (Read 130 times)
Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 692
xx ODBCLIB library for BB4W
« Thread started on: Nov 19th, 2017, 10:19pm »

Although this forum principally supports the cross-platform version of BBC BASIC, I should record that I recently released ODBCLIB.BBC, an initial attempt at a library for connecting to databases from BB4W. The library, and a demonstration program for accessing a test SQLite database (ODBCTEST.BBC), can be found in odbclib.zip at the Files area of the discussion group.

Richard.
User IP Logged

michael
Full Member
ImageImageImage


member is offline

Avatar




PM


Posts: 141
xx Re: ODBCLIB library for BB4W
« Reply #1 on: Nov 20th, 2017, 04:44am »

cant store OCBCLIB in the LIB directory because of permissions.
User IP Logged

I like reinventing the wheel, but for now I will work on tools for D3D
Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 692
xx Re: ODBCLIB library for BB4W
« Reply #2 on: Nov 20th, 2017, 08:55am »

on Nov 20th, 2017, 04:44am, michael wrote:
cant store OCBCLIB in the LIB directory because of permissions.

That seems a rather strange comment. Of course you need admin privileges to store the library there, but that is true of all BB4W libraries (BOX2DLIB, HASHLIB, HIMELIB etc.). ODBCLIB is not (and could not be) special in that regard.

Nearly all 'ordinary' Windows users are administrators; it is the default configuration when Windows is installed and many programs assume that it will be the case. UAC (User Account Control) largely eliminates any risk from that cause, without resulting in too much inconvenience.

If you are one of the small number of Windows users who choose not to run, ordinarily, as an admin then indeed you will need to login (or at least enter your password) in order to copy the library, but what could possibly be your objection to doing that? You must have had to do the same when BB4W was installed in the first place!

Richard.
« Last Edit: Nov 20th, 2017, 09:00am by Richard Russell » User IP Logged

michael
Full Member
ImageImageImage


member is offline

Avatar




PM


Posts: 141
xx Re: ODBCLIB library for BB4W
« Reply #3 on: Nov 20th, 2017, 2:18pm »

Quote:
Of course you need admin privileges to store the library there


Indeed, I just never thought of executing BBC4W as admin and using BBC4W as the file transfer method. When I tried to transfer the library manually with windows, it said I needed permissions from the author to write there and it didn't ask for admin access.

I got it to work.
Thanks.
User IP Logged

I like reinventing the wheel, but for now I will work on tools for D3D
Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 692
xx Re: ODBCLIB library for BB4W
« Reply #4 on: Nov 20th, 2017, 3:29pm »

on Nov 20th, 2017, 2:18pm, michael wrote:
When I tried to transfer the library manually with windows, it said I needed permissions from the author

I don't know what "permissions from the author" means; what permissions and what author? It's just a file, without any metadata; at least it was when it left me!

The way I generally move a file is by using copy/cut-and-paste, or drag-and-drop, in Windows (File) Explorer. If admin privileges are required UAC will prompt for elevation.

Richard.
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

Donate $6.99 for 50,000 Ad-Free Pageviews!


This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls