Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5417

Working directory

$
0
0

Hello all,

that's probably an easy question for most of you, but I usually develop for Linux with CVI running in XP. But someone recently tried on of my prog in Win7 and ran into trouble because I was (by default, this is user settable) using ini files and saving data in the default directory, which is the program directory, which seems write protected under Win7. So it was failing.

 

I'm unfamiliar with Win7 and just had a look at the functions around GetDir() without seeing an easy way to obtain a user-owned directory automatically. What's the recommended way to do this nowadays ?

Thanks


Viewing all articles
Browse latest Browse all 5417

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>