WinDev 25’s native dump functions may not explicitly say "exclusive". To ensure exclusivity, open the target file with foExclusive flag before writing.
If you need to trigger a "dump" via code, use the HExportXML or HExportJSON functions. To ensure it is "exclusive," wrap it in a management block: windev 25 dump exclusive
// Wait max 10 seconds for exclusive lock, then fail gracefully IF HDump("STOCK", "C:\Backups\stock.wdb", hExclusive + hWait + 10000) = False THEN // Log the failure and notify admin EmailAdmin("Exclusive dump failed: " + HErrorInfo()) END WinDev 25’s native dump functions may not explicitly
: Expanded the core language with hundreds of new functions, particularly for web and browser-side code. then fail gracefully IF HDump("STOCK"
You have 200,000 ledger entries and 5,000 account records. You need to freeze everything.