Hello Achim,

first of all, at the moment your pluging can only be used on installations with one 
active The Bat! user that has admin-rights. 
To get this right, please put the registry entries into the tree HKEY_CURRENT_USER 
instead of HKEY_LOCAL_MACHINE.
And for the databasepath I would recommend the following:
As a default setting, take the path stored in "HKEY_CURRENT_USER\Software\RIT\The 
Bat!\Working Directory" (this leeds to the workingdirectory of The Bat!) and append 
something like "\Plugings\BayesFilter". Use this then as location for the database. 
This will keep all databases for The Bat! together and should work on every 
installation around. The path should be generated from the regkey every time the 
plugin is started, this way a moved database folder could be detected.

If there is a better way for a pluging, to get the database path, ignore the last 
paragraph.

-- 
With best regards
Lars S�lter
mailto:[EMAIL PROTECTED]

The Bat! 2.01.56
System: Windows 2000 / Service Pack 4 / Build 2195


________________________________________________________
 Current beta is 2.01.50 | "Using TBBETA" information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to