Problem with GetCurrentDirectory()

  • Thread starter Thread starter Maileen
  • Start date Start date
M

Maileen

Hi,

I have a little trouble with the function "Directory.GetCurrentDirectory()".

It seems that it keeps into memory the path of the Debug version of my
application.
It doesn't work correctly in Release version.

Did anyone already have such problem ?

thanks,
Maileen
 
Maileen said:
I have a little trouble with the function
"Directory.GetCurrentDirectory()".

It seems that it keeps into memory the path of the Debug version of my
application.
It doesn't work correctly in Release version.

Did you try to start your application outside the IDE?
 
yes I tried it.
But i discovered from where is the problem.

When you use a Dialog box , it change the value of default directory...
problem was coming from this box.

Maileen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top