A "symlink" is similar to a shortcut, as in what you may have on the desktop or in the startup menu (icon with a small arrow in lover left corner)
Kind of a logical reference. E.g if you have the Lazarus icon on the desktop, they there is NOT a copy of Lazarus.exe on your desktop. Just a "shortcut"
Similar you can mount partitions on network drives, having the same location under more than one name (yes, on windows).
But I guess none of that is the cause in your case.
----
On the bottom of the editor, in the statusbar, is the complete filename.
Please compare it for the 2 copies of the file, that are opened. Look out for / versus \
You can copy it with "copy filename" from the context menu
----
Also if I remember, there were improvements since 0.9.30.4 was released.
I do highly recommend to try with a current 0.9.31 (fixes) snapshot. See link on the left side of this forum.
0.9.31 + fpc 2.6.0 is the upcoming Lazarus 1.0 release. Despite the warning on the Snapshot side, this version is currently rather stable.
Look for a file like
Lazarus-0.9.31-37721-fpc-2.6.0-20120622-win32.exe
the 37721 and the date 20210622 change daily
Lazarus 1.1 snapshots, or fpc 2.7.1 are experimental
---
If that does not help, or if you can not upgrade, then please report:
1) the observation, about the filenames, as described above
2) The output of the "Debug output window" as described here:
http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#Create_a_new_ReportOpen the window, before you run your app.