How to return via buffers using FFI?
Andreas Raab
squeak-dev at lists.squeakfoundation.org
Sat Sep 7 23:14:28 UTC 2002
> However, when I try this apicall I get an error saying "Can't coerce
> arguments".
>
> What am I doing wrong?
Passing an integer where an instance of Win32RegistryKey is expected.
E.g., the FFI does the equivalent of
passedType isKindOf: expectedType
and if you insert
Win32RegistryKey hKeyCurrentConfig isKindOf: Win32RegistryKey
you'll see that this is *not* equvialent.
Cheers,
- Andreas
More information about the Squeak-dev
mailing list
|