title: I have integrated CLIPS with VC++(MFC), why there are some function does't execute,such as "strcmp"
body: <p>I used the CLIPS6.30 version, and the way that I embeded the CLIPS into VC++ was just like the wrappedDLLExample shown in "advance.doc" (using CLIPSWind32.lib and CLIPSWin32CPP.lib).</p>
  
  <p>When I write a class myCLIPSCPPRouter, I need to compare the logicalNames.But the function "strcmp" doesn't work. The code line was skipped.</p>
  
  <pre><code>int myCLIPSRouter::Query(CLIPSEnv *cEnv,char *logicalName)
  {
      int n = strcmp(logicalName,m_lName); //Line (1)
      if(strcmp(logicalName,m_lName) == 0)
          return TRUE;
      else 
          return FALSE;
   }
  </code></pre>
  
  <p>The line (1) will always be shipped. And no matter these two strings (logicalName and m_lName)are the same or not, it goes to the end of the function, ie.the "strcmp()" isn't executed. So wierd*!(I wrote "it goes to 'return FALSE' formerly.it was wrong.")*
  And there is no error with these two strings. I have changed the both to "abc", and doesn't make a difference.</p>
  
  <p>I have tried other method,like transforming the char* to CString, and then invoking str.compareNoCase().But it's skipped too.</p>
  
  <p>I think maybe the way that I use the CLIPSRouter is wrong. I just want to make the message that CLIPS  "printout" can be displayed on the editbox of a Dialog.If you are familliar with CLIPS integration, please tell me the right way. Thank you very very very much!!!!</p>