title: Cannot call member function without object = C++
body: <p>I am brushing up again and I am getting an error:</p>
  
  <p>Cannot call member function without object.</p>
  
  <p>I am calling like:</p>
  
  <pre><code>FxString text = table.GetEntry(obj-&gt;GetAlertTextID());
  FxUChar outDescription1[ kCP_DEFAULT_STRING_LENGTH ];
  
  IC_Utility::CP_StringToPString(text, &amp;outDescription1[0] );
  </code></pre>
  
  <p>The line: IC_Utility::CP_StringToPString(text, &amp;outDescription1[0] ); is getting the error</p>
  
  <p>My function is:</p>
  
  <pre><code>void IC_Utility::CP_StringToPString( FxString&amp; inString, FxUChar *outString)
  {
  }
  </code></pre>
  
  <p>I know it has to be something simple I am missing.</p>