Hello all,
i'm have some trouble with the implementation of a third party DLL.
According to the Author of the DLL,it is a 'C shared library'.
I'm not familiar with c/c#.
Every call to a function witch have parameters ends with the runtime error
'Specified argument type differs from required argument type at runtime in DLL function
getmaxnumber. (invalid stack pointer on return from function call at line ..........'
For Example,
definition from the manual (c-Header File):
short int getMaxNumber(unsigned long int *maxNumber);
My Local extarnal Function in Powerbuilder
function Integer getMaxNumber(ref ulong maxNumber) LIBRARY "external.dll" ALIAS FOR "getMaxNumber"
Powerscript:
integer li_Ret=0
ulong lul_var=0
li_ret=getMaxNumber(lul_var)
return lul_var
Any clue, what im doing wrong?
Any help would be appreciated
Regards,
André