dbTalk Databases Forums  

How to set LocalShare=true automaticly

comp.databases.paradox comp.databases.paradox


Discuss How to set LocalShare=true automaticly in the comp.databases.paradox forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Anders Jonsson
 
Posts: n/a

Default Re: How to set LocalShare=true automaticly - 02-13-2006 , 02:13 AM






Günter,

If you are using an Inno-setup package I wouldn't call it a default install.

What I meant is that if you run the install exe for runtime 10 or 11 that is
shipped from Corel on a clean PC, the BDE defaults to local share =TRUE.

So, if you are using a setup program, it should be possible to change that
so it install the needed settings.

With your setup, two instanses on the same PC accessing the same data, you
definately should have local share = TRUE.

Anders




Reply With Quote
  #12  
Old   
Günter Matthies
 
Posts: n/a

Default Re: How to set LocalShare=true automaticly - 02-16-2006 , 02:53 AM






Hmmm,
I'm not new in this behaviour,
so first, I don't believe it,
but my tests do it.
So the correct test enviroment:

PDXR10 in separate ProgrammDir, installt by InnoSetup
bde 5.01
Local Shrae=false
1 WorkDir 3 PrivDir
one PrivDir contains all forms, Librarys, Priv*.DB for the main Instance
the other two PrivDirs are only for Program-Icons

so, on my desktop I have 3 Icons, with the same WorkDir, all using the
same pdxrwn32.exe, but 3 different PrivDir.

Shared Work.db's shows new records with the well known time delay.

Resumee: Its a litle spezial in my enviroment, but it works.
May be there is a hole in all my tests, but in this moment, I don't
think so.

Günter



Reply With Quote
  #13  
Old   
Günter Matthies
 
Posts: n/a

Default Re: How to set LocalShare=true automaticly - 02-16-2006 , 02:56 AM



Anders,

Install (10) from Corel needs 40 MB, my Install needs 10 MB, thats the
reason wy.
thanks for Your reply

Günter

Reply With Quote
  #14  
Old   
Günter Matthies
 
Posts: n/a

Default Re: How to set LocalShare=true automaticly - 02-16-2006 , 06:07 AM



I'm not able to make an reproduceable test-Enviroment, so it seems I got
an other problem. If I solve it, I post it.

Thanks for Your help,

Günter

Reply With Quote
  #15  
Old   
Anders Jonsson
 
Posts: n/a

Default Re: How to set LocalShare=true automaticly - 02-17-2006 , 08:13 AM



Quote:
crazy or wrong or ????
You have two instances of Paradox - with seperate PRIV dir - accessing and
adding data into one table. If I remember correctly, that should run, even
if LOCAL SHARE is set to FALSE. The problem starts when you try to edit the
SAME record. If I recall correctly, with LOCAL SHARE set to FALSE you could
end up with corruption.

However, when I tested this now on my home PC it seemed like the setting of
local share had no influence. The locks were always recognized, no matter
true or false.

But maybe the local share setting only has an affect if two different PC's
on the network?

Anyway, why take the risk? I would say the almost everyone here are running
Paradox will local share set to true, even in single user environment. It's
als the default setup. So if you have custom install, change that so it sets
local shar to true and be safe.

Anders









Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.