You're not following the correct form for the [FileExecute] command. You can pass in a float but you need another comma between it and the function name (to allow for optional text input):
Code:
[FileExecute,File name including the extension (such as plugin.dll )
,Routine to call,Optional text input,Optional number input
,Optional memory block input,Optional memory block output]
Your C++ dll function parameters need to reflect this order. In fact, to simplify things I just use the same template for all my C++ functions although I only ever use the first three parameters:
Code:
#define DLL_EXPORT __declspec(dllexport)
extern "C"
{
float DLL_EXPORT Version(char* pDontCare, double optValue, char* pOptBuffer1, int optBuffer1Size,
char* pOptBuffer2, int optBuffer2Size, char** zData);
float DLL_EXPORT MyFunction(char* pDontCare, double optValue, char* pOptBuffer1, int optBuffer1Size,
char* pOptBuffer2, int optBuffer2Size, char** zData);
}
HTH,