General information
Category:
ActiveX controls in VFP
>Suhas,
>
>Did you download the dequote.zip file from my website? It has all the code in it. The way it's written there's no __declspec required.
>
>>Is it possible for You to show me 1 example in the project to export a Function say TA_MAtype ?
>
>>I dont know what to add where to add.
>>
>>The docs says there must be a __declspec(dllexport) but i dont know where to add it
Hi,
I downloaded the zip and viesed it.
U have used .def to export the fumction . Thats all i could know.
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 ???
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only