How can I get set input files path runtime?
I need to select the path directory of my "files.dat" at runtime.
My Visual Studio project crea开发者_JAVA技巧te a .dll (that is a Nutech plugin) and in the code it is just implemented a load functions of this files. So I need that the user can choose the directory of files to load to the process.
Your function must receive a name of an input file as a parameter and do exactly one thing: load data from the file. Everything else (like showing a dialog) is responsibility of the user code.
精彩评论