GTKD - Application crashes - or not? [Coedit]

TheDGuy via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jun 15 03:31:18 PDT 2016


On Wednesday, 15 June 2016 at 10:21:20 UTC, Rene Zwanenburg wrote:
> On Wednesday, 15 June 2016 at 09:48:19 UTC, TheDGuy wrote:
>> But if i execute the app my hand (in the windows command 
>> window or my double click) it works as expected (so no error)? 
>> Why is that?
>
> My first guess would be that Coedit does not use the directory 
> where the executable is located as working directory. You can 
> check what getcwd returns:
> https://dlang.org/phobos/std_file.html#.getcwd

Thanks a lot for your answer, getcwd() returns the path where 
coedit is located on my harddrive:
C:\Program Files (x86)\Coedit_32\coedit.2update6.win32

How can i change that?


More information about the Digitalmars-d-learn mailing list