IME it is never a good idea to rely on the default path being correct. Who knows what sort of shortcuts the users will create for themselves, then blame you when they don't work properly?
If you want to ensure that the ini file you write is in the application directory, use the GetProjectDir() and MakePathname() functions in your application code to fully-qualify the ini filename. A bit painful the first time, but if you make a habit of it you'll never regret it.
--
Martin
--
Martin
Certified CVI Developer