[Lazarus] __FILE__ macro, or equivalent
Donald Ziesig
donald at ziesig.org
Fri Jul 29 17:30:06 CEST 2016
Hi All!
I would like to get the path to an fpc package at compile time. I have a
package which needs to load some .so files and I would like to store
them in a location that will be consistent when I move the package from
system to system. By getting the package path, I could store them in
the package directory.
Is that possible?
I tried to use the __FILE__ macro like in C/C++ but the compiler doesn't
seem to understand it.
Thanks,
Don Ziesig
More information about the Lazarus
mailing list