API for getting application directory?

Using GapiDraw, it helpfully loads relative-path files from the application directory, when calling CGapiSurface::CreateSurface.
I would like to also load some of my data files from the application directory.
Is there a GapiDraw API that returns that directory for me, so I can load other files from there?
That would be best, since then I am sure whatever algorithm looks for the application directory for my image files, works the same for my other data files.
How do people normally do this?
I would like to also load some of my data files from the application directory.
Is there a GapiDraw API that returns that directory for me, so I can load other files from there?
That would be best, since then I am sure whatever algorithm looks for the application directory for my image files, works the same for my other data files.
How do people normally do this?