>Hi everybody,
>
>I'm using relative paths in the development. I have code that changes the current directory and then all my relative paths don't work anymore.
>
>Is there a method to fix the probem (still use the relative paths, but allow changing of the main directory)?
>
>It is not a problem in the compiled application, but I want to be able to test it in IDE.
>
>Thanks in advance.
Is it that when you change the main directory you want to change the path statement so that the paths that were relative to the previous main directory so that they are now relative to the new main directory?
It sounds like you should be using absolute paths.