View Full Version : fatal error 100: cannot read from file: "Any downloaded include"

12/01/2012, 12:16 PM
hello i want download include and i want use it error show to me fatal error 100: cannot read from file: "Any include"
for example i want donwload admin system when i download it i want edit something or what ever and it #include <foreach> i download it and add it to pawno>include then still the same tell me fatal error 100: cannot read from file: "foreach"
can anyone help me please :(

12/01/2012, 12:21 PM
Hmm, I didn't see that before to be honest, but something will be wrong.
Check if there is the file on your_server\pawno\include\foreach.inc
That all your includes must be .inc, nothing else. Make sure you run the correct pawno.exe and not from other package. (I think impossible for this)

12/01/2012, 12:43 PM
I check every thing and i use old Pawno when i use the new its work thanks +rep

and is there are different between the new and old ?

12/01/2012, 12:45 PM
The Pawn compiler always looks for includes files in directories relative to the directory the compiler itself resides in.

12/01/2012, 01:10 PM
if you put the includes where you have your script you can do:
#include "MyInclude.inc" (paths can also be supplied here, they are relative to the script path)

else if it's located in the pawno/include folde you do:
#include <MyInclude>

Hope this helps.