Suhas,
>U have used .def to export the fumction . Thats all i could know.
Yes, using the .def file like that allows the C++ member functions to be exported without any obfuscating C declarations to "mess" up the code.
If you look in the .cpp file you'll see the member functions, the .h contains their declarations.
You should be able to get the code you are trying to use adapted into that structure, if not the member functions can always call out to the classes you are trying to use.
>there is this in a .c file
>....
>....
>....
>more codes here ...
>/* Generated */
>/* Generated */ #if defined( _MANAGED )
>/* Generated */ enum class Core::TA_RetCode Core::AD( int startIdx,
>/* Generated */ int endIdx,
>/* Generated */ cli::array
^ inHigh,
>/* Generated */ cli::array^ inLow,
>/* Generated */ cli::array^ inClose,
>/* Generated */ cli::array^ inVolume,
>/* Generated */ [Out]int% outBegIdx,
>/* Generated */ [Out]int% outNbElement,
>/* Generated */ cli::array^ outReal )
>/* Generated */ #elif defined( _JAVA )
>/* Generated */ public TA_RetCode AD( int startIdx,
>/* Generated */ int endIdx,
>/* Generated */ double inHigh[],
>/* Generated */ double inLow[],
>/* Generated */ double inClose[],
>/* Generated */ int inVolume[],
>/* Generated */ MInteger outBegIdx,
>/* Generated */ MInteger outNbElement,
>/* Generated */ double outReal[] )
>/* Generated */ #else
>/* Generated */ TA_RetCode TA_AD( int startIdx,
>/* Generated */ int endIdx,
>/* Generated */ const double inHigh[],
>/* Generated */ const double inLow[],
>/* Generated */ const double inClose[],
>/* Generated */ const int inVolume[],
>/* Generated */ int *outBegIdx,
>/* Generated */ int *outNbElement,
>/* Generated */ double outReal[] )
>/* Generated */ #endif
>.....
>.........
>........
>more codes here
>
>So should i include TA_AD in .def file like
>
>TA_AD @1
>
>inplace of DeQuote @1
>after making a .def in the project ?
>
>suhashegde
>
>P.S. : Can you provide more pointers please ???