Try this:
// --------------------------------
// hAnalyseInterface.h:
#ifndef _DEFINED_HANALYSE_DLL_EXPORTS
#define _DEFINED_HANALYSE_DLL_EXPORTS
// Here you may need to provide full path to your DLL:
#pragma dll("hAnalyse.dll")
void __stdcall GetVersionDLL(char *, char *, char *);
#endif//_DEFINED_HANALYSE_DLL_EXPORTS
// END hAnalyseInterface.h
// --------------------------------
// --------------------------------
// Test_hAnalyseInterface.c:
#include <origin.h>
//////////////////////////////////
#include "hAnalyseInterface.h"
void test_hAnalyseInterface()
{
char cVersion, cSubVersion, cSubSubVersion;
GetVersionDLL(&cVersion, &cSubVersion, &cSubSubVersion);
printf("%d.%d%d\n", cVersion + 48, cSubVersion + 48, cSubSubVersion + 48);
}
// END Test_hAnalyseInterface.c
// --------------------------------
I could not test this fully, though, since I don't have your DLL.
You should be able to run the test code from Script Window by calling the test function:
test_hAnalyseInterface
The printf() line will dump the information.
ML