Pathproblems with PB-Files in Subdirectories

Working on new editor enhancements?
Franky
Enthusiast
Enthusiast
Posts: 213
Joined: Sat Apr 26, 2003 2:58 pm

Pathproblems with PB-Files in Subdirectories

Post 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
Give Up everything but trying!
freak
PureBasic Team
PureBasic Team
Posts: 5941
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

Its on purpose.
Simply set the current directory setting in the compiler options to the path you want.
quidquid Latine dictum sit altum videtur
Franky
Enthusiast
Enthusiast
Posts: 213
Joined: Sat Apr 26, 2003 2:58 pm

Post by Franky »

Works fine. Thanks a lot :D
Give Up everything but trying!
Post Reply