It runs four or five times and does not work later. You need to restart your computer then working next for or five times.
Thats crazy ! - some silly suggestions from a non windows user -
Check for memoryleaks, turn heaptrc on in project options - debugging.
From memory, windows has a number of other things it can run out of ....
Use the tool that shows running processes, cannot remember its name to see if something is being left in memory after your app has terminated.
On Samba I can delete , modify, create , rename any file.
That there would be no doubt I run executables from the Samba drive
Don't be too sure of that. Some virus (and similar) checking tools prevent apps from starting from places they don't approve of. How about making a "helloWorld" in Lazarus and trying that ?
Davo