AnsweredAssumed Answered

vrf DLL's and header files

Question asked by VRFuser on Jun 3, 2004
Hi All,

I'm having my first attempt at getting a DLL to work with VEE.

I've got the DLL and a .h file.  I tried to load it straight away with no
editing of the .h file and I got an error (surprise, surprise!).

A fairly representative line from the .h follows:
BOOL C843_FUNC_DECL C843_STE(const int iId, char const  cAxis, double dOffset);

There is a section at the top which looks like:
#undef FUNC_DECL
#ifdef C843_DLL_EXPORTS
#define C843_FUNC_DECL __declspec(dllexport) WINAPI
#define C843_FUNC_DECL __declspec(dllimport) WINAPI

But VEE doesn't seem to like looking at this part, therefore I did a global
search and replace on "C843_FUNC_DECL" and replaced it with "__declspec(dllimport)".

Next, I know Vee doesn't handle BOOL data-types, but I'm not sure what to
replace it with.  There are also BYTE and WORD data types and again I don't know
what to change them for.

Any assistance is appreciated.

Graeme Hilton
Product Engineer

Schlumberger Sensa

You are currently subscribed to vrf as:
To subscribe send a blank email to "".
To unsubscribe send a blank email to "".
To send messages to this mailing list,  email "". 
If you need help with the mailing list send a message to "".