Page 1 of 1

Pathproblems with PB-Files in Subdirectories

Posted: Mon Apr 07, 2008 7:33 pm
by Franky
Hi people. I have the problem, that my program should be so big, that I wanted to put some of the CodeFiles into an on directory inside the mainfile“s directory. The Problem is, that if I run from the Included File, PB takes the wrong path, so that for examples images can not be loaded.

Just try my example:


http://braineagles.org/purebasic/editorbug.zip

Posted: Mon Apr 07, 2008 7:35 pm
by freak
Its on purpose.
Simply set the current directory setting in the compiler options to the path you want.

Posted: Mon Apr 07, 2008 7:48 pm
by Franky
Works fine. Thanks a lot :D