On Aug 9, 2006, at 4:41 PM, Alfred Van Hoek wrote:

I guess that one way to overcome the REALGetPropValueBoolean issue is to utilize

#define FLAT_C_PLUGIN_HEADERS 1

and therefore REALGetPropValueBoolean is not resolved to REALGetPropValue. We then can add the REALGetPropValueBoolean definition to PluginMain.cpp and our dynamic access lib needs then to be rewritten by replacing REALGetPropValue to their equivalent "flat names". We can live with that, and if in our lib REALGetPropValueBoolean would fail, (RB2006r4), we then try REALGetPropValue(unsigned char).

However, when FLAT_C_PLUGIN_HEADERS 1 is defined the CW compiler complains with illegal function overloading pointing to the REALGetPropValue declarations in rb_plugin.h. We force the compiler to compile as C++, fulfilling the condition

Where are you defining FLAT_C_PLUGIN_HEADERS? It needs to be defined globally before any includes of rb_plugin.h or REALplugin.h.

HTH,
Jon


--
Jonathan Johnson
[EMAIL PROTECTED]
REAL Software, Inc.


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to