<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY style="COLOR: #000000; FONT-FAMILY: Arial" bgColor=#c0c0c0><LABEL
id=HbSession SessionId="910003620"></LABEL>
<DIV><FONT size=2><FONT size=3>> #ifdef __BORLANDC__<BR>> #define _setmode
setmode<BR>> #define _O_BINARY O_BINARY<BR>> #define _strnicmp
strnicmp<BR>> #define fabsf(x) fabs(x)<BR>> #endif</FONT><BR></FONT></DIV>
<DIV><FONT size=2>Yes, there is setmode in C++ Builder's lib. But
"inputfile.cpp" and "outputfile.cpp" include "UsageEnvironment.hh" instead
of "Media.hh".</FONT></DIV>
<DIV><FONT size=2>So, in "UsageEnvironment.hh", add this: </FONT></DIV>
<DIV><FONT size=2><FONT size=3>#ifdef __BORLANDC__<BR>#define _setmode
setmode<BR>#define _O_BINARY O_BINARY</FONT></FONT></DIV>
<DIV><FONT size=2><FONT size=3>#endif<BR></FONT></FONT></DIV>
<DIV><FONT size=2><FONT size=3>
<DIV><FONT size=2>In "Media.hh", add this: </FONT></DIV><FONT
size=2></FONT></DIV></FONT></FONT>
<DIV><FONT size=2><FONT size=3>#ifdef __BORLANDC__<BR>#define _strnicmp
strnicmp<BR>#define fabsf(x) fabs(x)<BR>#endif<BR></FONT></FONT></DIV>
<DIV><FONT size=2><FONT size=3><FONT size=2>I have tried the above. It
works.</FONT></DIV></FONT></FONT>
<P></P></BODY></HTML>