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):
Maybe a timed out check before trying to open the file could help.[RecentFiles]
RecentFile_1 = \\192.168.1.240\Cloud\Programming\PureBasic\Projects\Stock_Analyser\DataLogger-StockExchange-Stuttgart.pb
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.