DLL and bool bug

 
Metaquotes,

I import a function from dll with a bool as a parameter

double GetValue(bool x);

My compiler reads the bool value in the dll as - unsigned char with the value of ' 0" '. This will always be read as 0 or false. I think this is a bug and thought it should be brought to your attention if I am correct.

g
 
My compiler reads the bool value in the dll as - unsigned char

There is error. Should be int