Page 1 of 1

IDE won't start if Network-Drive (IP-Address) is not available ...

Posted: Thu Jan 20, 2022 5:28 pm
by PureLust
I'm not sure if this was not reported before (because it seems to be an old problem), but I have not found anything about it with the forum search function:

If PureBasic.prefs refers to a network-file in [RecentFiles] or [OpenedFiles], which is located on an IP-Address which does not respond or no longer exists, it will hang in the startup loop forever.

e.g. (the given IP-Adrress 192.168.1.240 does not respond or does not exist anymore):
[RecentFiles]
RecentFile_1 = \\192.168.1.240\Cloud\Programming\PureBasic\Projects\Stock_Analyser\DataLogger-StockExchange-Stuttgart.pb
Maybe a timed out check before trying to open the file could help.

I wonder, why it hangs on entries in [RecentFiles]. PB does (should?) not open them, but maybe it checks them for existence and even hangs on that.