Re: How to catch integer 64 bit return variable type
- Posted by Juergen Luethje <j.lue at gmx.de> Jun 08, 2007
- 592 views
D. Darmawan wrote: > Thanks your quick response Juergen, > > I try to make my expectation more understandable. > Assume that C function in API library is like this: > > }}} <eucode> > long long int desired_function(any_struct_value*); > </eucode> {{{ > that will return any 64 bit integer value. > > Then I link and call that C function in my Eu code: > > }}} <eucode> > myAPIfunc = define_c_func(myDLL, "desired_function", {C_POINTER}, C_LONG) > > x = c_func(myAPIfunc, {lpMyVar1}) > </eucode> {{{ > > Now, my question is: > How to catch the 64bit integer return value from myAPIfunc and assign it into > 'x' variable??? I see. Unfortunately, for this case I don't have a solution. However, if we declare the problem "insoluble", then Matt will solve it. :) Regards, Juergen