Re: Need advices on solving compile time errors.

Originally Posted by
lucky6969b
Code:
extern "C" int _nhandle;
bool Network_CloseFile(Bit16u entry)
{
Bit32u handle=RealHandle(entry);
int _Expr_val=!!((handle >= 0 && (unsigned)handle < (unsigned)_nhandle));
_ASSERT_EXPR( ( _Expr_val ), _CRT_WIDE(#(handle >= 0 && (unsigned)handle < (unsigned)_nhandle)) ); <<<<<<<<<<<< the pound sign generates this error
if ( !( _Expr_val ) ) {
_doserrno = 0L;
errno = EBADF;
dos.errorcode=(Bit16u)_doserrno;
return false;
}
if(close(handle)==0)
{
NetworkHandleList[entry]=0;
DOS_PSP psp(dos.psp());
psp.SetFileHandle(entry,0xff);
return true;
}
else
{
dos.errorcode=(Bit16u)_doserrno;
return false;
}
}//bool Network_CloseFile(Bit16u entry)
And what is the bit in red for?
I was thrown out of college for cheating on the metaphysics exam; I looked into the soul of the boy sitting next to me.
This is a snakeskin jacket! And for me it's a symbol of my individuality, and my belief... in personal freedom.