[Solved] wxWidgets 3.1.0, problem with ini files

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
mrdebug
Earned some good credits
Earned some good credits
Posts: 131
Joined: Mon Jul 17, 2006 4:57 pm

[Solved] wxWidgets 3.1.0, problem with ini files

Post by mrdebug » Wed Apr 06, 2016 11:18 am

Using wxWidgets 3.1.0 now I have an error when I try to load and save a ini file in the executable folder. The error is this:

Changes won't be saved to avoid overwriting the existing file ""
X: can't read from file descriptor 3 (error 0: operazione completata.)
X: can't close file descriptor 3 (error 0: operazione completata.)
X: can't open user configuration file 'C:\Cpp\wxTrazioni\wxTrazioni.ini'.
X: Changes won't be saved to avoid overwriting the existing file "C:\Cpp\wxTrazioni\wxTrazioni.ini"


I know the ini file shouldn't be here but I have to use this location. Is it possible with wxWidgets 3.1.0 or have I to downgrade to the old version?
Last edited by mrdebug on Wed Apr 06, 2016 1:21 pm, edited 1 time in total.

mrdebug
Earned some good credits
Earned some good credits
Posts: 131
Joined: Mon Jul 17, 2006 4:57 pm

Re: wxWidgets 3.1.0, problem with ini files

Post by mrdebug » Wed Apr 06, 2016 1:20 pm

Solved by changing the linked libraries list.

Post Reply