Hi Randall,
would be nice, if smb1 could be easy replaced with smb2.
As I know, Pdox don't need the smb1. BDE does.
Just a hint:
The error message "No more files" comes from BDE.
You can remove it with BDEadmin.exe:
Configurations | System | Init | MAXFILEHANDLES
and if you want to be shure , the following key too:
Configurations | Drivers | Native | Paradox | MAXFILEHANDLES
and set a higher value. Valid values are between 5 - 4096. Default
is 48 (this is not enough). Higher values need more memory, so it's
not necessary good, to use the biggest values.
Set the value e.g. to 255 (REG_DWORD 0x000000ff) and proove, if the
error message disappear.
As I've used the value 80, I got the same message. Then I've set it
to 255, the problem disappear.
I myself use now 1024 (REG_DWORD 0x00000400) and have as long not a
problem with it.
My registry settings for oplocks are since years (on each network-pc, where Pdox
is used):
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\EnableOplocks
0 (REG-DWORD)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters\EnableOplocks
0 (REG-DWORD)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\mrxsmb\Parameters\OplocksDisabled
1 (REG-DWORD)
and now I've added
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters\DirectoryCacheLifetime
0 (REG-DWORD)
by now, no changes, works ok too.
Remark: To be shure, that it works properly, search the registry for
the value:
MAXFILEHANDLES
and proove for each one, if the key has set the same value as you
set with BDEadmin.exe. If not, change the registry value.
BTW.: I had problems to change registry values with OPAL (e.g. P9 on
Win10). getRegistryValue works Ok. setRegistryValue don't. Therefore
I wrote my own get-/setRegistryValue with VisualStudio (C#) and now
it works.
If Pdox (since P9) will work without problems with smb2 too, then
Pdox will be alive for at least next 10 years.
Greetings.
Ivan
Dátum: utorok 25. marca 2025, čas: 18:45:51 UTC+1, odosielateľ: Randall Haines