GTKD - Application crashes - or not? [Coedit]
Basile B. via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Jun 15 17:46:44 PDT 2016
On Wednesday, 15 June 2016 at 23:41:51 UTC, Basile B. wrote:
> On Wednesday, 15 June 2016 at 17:35:32 UTC, TheDGuy wrote:
> I'm gonna check on Windows today but in the meantime you can try
>
I've checked on windows and here is what I can say about the
problem.
- Symbolic strings won't work on the "CurrentDirectoy" parameter.
This is not handled at all. (you would get an error 267). I'll
add the translation code for this parameter but this is for
version 3 so not soon.
- I had to verify but the cwd should really be set to the path
where the application is output. I mean that it's written so. I
don't know what's happening on your system right now. My windows
is still win 7 and my dev directory is not in ProgramFiles. And
I've tested using this simple project:
https://gist.github.com/BBasile/2e110ed48989b53e2a53b57977a81736.
You can DL it as a zip, open the .ce file as a project and click
"compile project and run" you should see the right CWD written in
the messages.
- You can create a launcher in the custom tools, excluding the
double quote:
- as executable type "<CPO>"
- as CurrentDirectory type "<CPP>"
- as alias put something like "Run this project"
This will work if the binary is compiled in the same directory as
the binary that's produced. Otherwise you can adjust by adding
directories after the symbol. (e.g "<CPP>bin\release").
More information about the Digitalmars-d-learn
mailing list