OONumerics User :

From: Hendrik Belitz (hbelitz_at_[hidden])
Date: 2008-01-28 05:33:21


Jason:

> Can anyone tell me if it is possible to send a dynamic string variable to a
> C++ DLL that represents and equation for the DLL to use to calculate values
> in columns of an 2D array that is also passed.

there is no direct way to accomplish the thing you want to do besides the alternatives Stefan already mentioned so far. If platform dependence is no problem and you use a windows environment, you could find an additional alternative in Microsofts .NET-Framework, which has the ability to compile (not interpret!) .NET-compliant code (this includes expressions like yours) at runtime. For more information, take a look at

http://www.west-wind.com/presentations/dynamicCode/DynamicCode.htm

for example.

Hope this helps and best regards
Hendrik

-------------------------------------------------------------------
Brilliance is typically the act of an individual, but incredible
stupidity can usually be traced to an organization. - Jon Bentley

Hendrik Belitz, Computer Scientist
email: hbelitz_at_[hidden] or hbelitz_at_[hidden]