This site is temporarily down. Please come back. More than one 'NETDIR' for the BDE on one computer
DelphiFAQ Home Search:

More than one 'NETDIR' for the BDE on one computer

 

commentsThis article has not been rated yet. After reading, feel free to leave comments and rate it.

Q:
I want wy app to have its own 'NETDIR' setting so it won't conflict with other
apps installed on the same computer.
Is it possible to use several settings for 'NETDIR' for BDE on the same computer?

A:
(by Chris Roberts)
Yes. Every BDE session can have a different network control file location. The default 'NETDIR' setting in the BDE Admin should always point to the same physical location, but an application can change the location in it's BDE session by setting Session.NetFileDir before a BDE session is opened.

Note that you may have some difficulties while debugging if you don't also set the default 'NETDIR' on your development machine to the same as your program's.

Note: BDE sessions with different Session.NetFileDir cannot access the same tables concurrently.

Setting the Session.NetFileDir in your application, (or suite of applications) can isolate it from an incorrectly set default 'NETDIR'. I usually set NetFileDir to a location relative to the shared application .EXE file.
Content-type: text/html

Comments:

2015-02-01, 05:59:35
anonymous from Venezuela  
I read your potsing and was jealous
2015-02-03, 19:08:05
anonymous from United Kingdom  
Mari - Christian, your pictures look great! I hope to get one in a gratuadion card. Your photographer did a great job. How did you jump so high? http://pjccsu.com [url= http://uunzuxpx.com..uxpx[/url] [link= http://vudsclurzcy...zcy[/link]
2015-02-10, 08:46:42
anonymous from Vietnam  
stay any http://buycialis.website cialis would how about http://levitramg.me alcoholism high deductible http://lifeinsuranc..uotes.club therefore high rate http://insurance4u.website comprehensive

 

 

NEW: Optional: Register   Login
Email address (not necessary):

Rate as
Hide my email when showing my comment.
Please notify me once a day about new comments on this topic.
Please provide a valid email address if you select this option, or post under a registered account.
 

Show city and country
Show country only
Hide my location
You can mark text as 'quoted' by putting [quote] .. [/quote] around it.
Please type in the code:

Please do not post inappropriate pictures. Inappropriate pictures include pictures of minors and nudity.
The owner of this web site reserves the right to delete such material.

photo Add a picture: