C++ Variable Conversion
<p>I need to pass one of my parameters to a write() function. It is asking for a type of 'const void*' I am a PHP guy and don't know C++ very well. </p>

<p>Here is my parameter:</p>

<pre><code>const fmx::Text&amp; distance = dataVect.AtAsText(3);
</code></pre>

<p>I don't know of any other way to pull in that field. I would love to just declare it const void* but I don't know how. </p>

<p>I guess just converting it would be easier than trying to pull it in the correct way??</p>

<p>The error message: cannot convert const fmx::Text to const void* for argument 2</p>

<pre><code>write(fd, distance, 4);
</code></pre>

<p>I know this worked so can I just convert?</p>

<pre><code>const void* s = "5000";
</code></pre>

<p>This is for a plugin in FileMaker so I don't really get c++ here.</p>

<p>Is there more anyone would need to help me solve this??</p>

<p>Thanks so much! </p>
