Hello,
I am having a problem understanding the directory requirements to run an .exe. outside of visual. In fact I can run the exe by copying the file from the release directory constructed by visual to the directory above - no problem. What I do not understand is why I need to do this if I have no media being used except for an explicit path in the code for a model.
The code is a modified version of the tutorial on using 3dws files with DarkGDK.
Now, if I run this code in the release directory, I get no model in the display. On the other hand if I run from the directory above then everything is fine (no textures loaded but I understand that).
Can someone explain the directory dependency? There is obviously something other than the media involved.
Here is the line where I specify the model to load.
LevelToLoad = "D:\\Program Files\\3D World Studio\\Maps\\simple_example.3dw";