i'm having the same issue... can anyone help steer us in the right direction?
load DLL works fine (no error written to log), but i get an error when trying to declare.
the function name in the DLL i'm trying to declare call is "lookUp()":
dll_obj << DeclareFunction(
"lookUp",
Convention( STDCALL ),
Alias("LU"),
Arg(AnsiString, "NW"),
Returns( Int32 ),
);
I get the following error:
Error initializing function "lookUp". The specified procedure could not be found.
in access or evaluation of 'DeclareFunction' , Bad Argument( "lookUp" ), DeclareFunction(
"lookUp",
Convention( STDCALL ),
Alias( "LU" ),
Arg( AnsiString, "NW" ),
Returns( Int32 )
)
In the following script, error marked by /*###*/
dll_obj << DeclareFunction(
"lookUp",
Convention( STDCALL ),
Alias( "LU" ),
Arg( AnsiString, "NW" ),
Returns( Int32 )
) /*###*/
any help is GREATLY appreciated! thanks in advance