Hi all ,
My application is installed properly and open on start up.When I checked the current opened application path by using the GetCurrentDirectory() Method it showing "C:\Documents and Settings\Administrator" but the original application had stored at "C:\program files\App\App.exe"

Because of this, start up application does find dynamic Dll file which had been stored at "C:\program files\App\App.dll" and my application get crashed because it doesn't find tha App.dll at correct path.

Can anybody tell me when application open at startup why it's showing the path "C:\Documents and Settings\Administrator" instead of "C:\program files\App".

And what could be the desired solutions for this problem.

Thanks in advance..



thanks,
rohit