Tremendous problem , help.

Blitz3D Forums/Blitz3D Programming/Tremendous problem , help.

Yue(Posted 2015) [#1]


This is driving me crazy .

If the variable load an image put it in a different location code image not charge me .

What am i doing wrong?


Floyd(Posted 2015) [#2]
The path for LoadImage "Data\Imagenes\... is relative to the current directory. Does that directory change? Do you use ChangeDir anywhere?

A couple of things to try:

1. Display the CurrentDir() just before LoadImage. Does it change when used in different locations in your code?

2. Try using LoadImage with the full path, something like "C:\..." if your files are on drive C. Then the current directory is unimportant.


Yue(Posted 2015) [#3]
Thank You :) Problem Fix.