<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-15">
<META content="MSHTML 6.00.6000.16890" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>I have been working on the problem of cm3ide not getting the BUILD_DIR from cm3.cfg. I've run across some perplexing test results.</DIV>
<DIV> </DIV>
<DIV>MxConfig.Get("BUILD_DIR") is returning NIL on Windows XP & Vista. I've tracked it down a bit further. There seem to be two issues that must be fixed to solve this problem:</DIV>
<DIV> </DIV>
<DIV>1. HOST does not seem to be defined. In particular my "C:\cm3\bin\cm3.cfg" file appears as follows (this is the file Jay recommended):</DIV>
<DIV>INSTALL_ROOT = path() & "/.."</DIV>
<DIV>include (path() & "/config/" & HOST)</DIV>
<DIV> </DIV>
<DIV>Is HOST a variable? Or, was I supposed to replace it by "NT386"? If the latter, my bad on this one--I took Jay's message literally.</DIV>
<DIV> </DIV>
<DIV>2. path() does not appear to always yield the path to the bin folder. In particular, it seems to work fine unless you invoke the program when the current directory is actually set to the bin folder, in which case path() seems to return the empty string.</DIV>
<DIV> </DIV>
<DIV>So, if Í%=C:\, and I run cm3ide, path() returns "C:\cm3\bin" as it should.</DIV>
<DIV>But, if Í%=C:\cm3\bin, and I run cm3ide, path() returns "".</DIV>
<DIV> </DIV>
<DIV>So in the latter case, the include statement winds up trying to pull a file from the wrong place, e.g. "/config/NT386" rather than "C:\cm3\bin/config/NT386"</DIV>
<DIV> </DIV>
<DIV>Regards,</DIV>
<DIV>Randy Coleburn</DIV></BODY></HTML>