RE: [BLACKBOX] structured return types

From: null <">
Date: Fri, 03 Jul 2009 06:56:18 +0000

----boundary-LibPST-iamunique-1306397199_-_-
Content-type: text/plain

Hi Chris,

[...]
>
> I don't think the following suggestion will be much help to
> you in this case but hopefully it might help to trigger
> some other ideas:
>
> If there were only a couple of functions involved a simple
> workaround would be to write a wrapper in C that took
> the returned value and passed it back via a parameter.
> You could then call the wrapper function from Component
> Pascal. e.g something like: (pretend the following is all
> coded in C)
>
> PROCEDURE Xyz(): SomeStructuredType;
> BEGIN
> ...
> END Xyz;
>

I have no idea, what happens to the stack in this case.

If the stack is pushed & popped by the calling function,
we won't have anything left on the stack ...

regards
--
  Bernhard 
----boundary-LibPST-iamunique-1306397199_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIEhpIENocmlzLFxwYXINClxwYXINClsuLi5dXHBh
cg0KPiBccGFyDQo+IEkgZG9uJ3QgdGhpbmsgdGhlIGZvbGxvd2luZyBzdWdnZXN0aW9uIHdpbGwg
YmUgbXVjaCBoZWxwIHRvIFxwYXINCj4geW91IGluIHRoaXMgY2FzZSBidXQgaG9wZWZ1bGx5IGl0
IG1pZ2h0IGhlbHAgdG8gdHJpZ2dlciBccGFyDQo+IHNvbWUgb3RoZXIgaWRlYXM6XHBhcg0KPiBc
cGFyDQo+IElmIHRoZXJlIHdlcmUgb25seSBhIGNvdXBsZSBvZiBmdW5jdGlvbnMgaW52b2x2ZWQg
YSBzaW1wbGUgXHBhcg0KPiB3b3JrYXJvdW5kIHdvdWxkIGJlIHRvIHdyaXRlIGEgd3JhcHBlciBp
biBDIHRoYXQgdG9vayBccGFyDQo+IHRoZSByZXR1cm5lZCB2YWx1ZSBhbmQgcGFzc2VkIGl0IGJh
Y2sgdmlhIGEgcGFyYW1ldGVyLiBccGFyDQo+IFlvdSBjb3VsZCB0aGVuIGNhbGwgdGhlIHdyYXBw
ZXIgZnVuY3Rpb24gZnJvbSBDb21wb25lbnRccGFyDQo+IFBhc2NhbC4gZS5nIHNvbWV0aGluZyBs
aWtlOiAocHJldGVuZCB0aGUgZm9sbG93aW5nIGlzIGFsbCBccGFyDQo+IGNvZGVkIGluIEMpXHBh
cg0KPiBccGFyDQo+IFBST0NFRFVSRSBYeXooKTogU29tZVN0cnVjdHVyZWRUeXBlO1xwYXINCj4g
QkVHSU5ccGFyDQo+IC4uLlxwYXINCj4gRU5EIFh5ejtccGFyDQo+IFxwYXINClxwYXINCkkgaGF2
ZSBubyBpZGVhLCB3aGF0IGhhcHBlbnMgdG8gdGhlIHN0YWNrIGluIHRoaXMgY2FzZS5ccGFyDQpc
cGFyDQpJZiB0aGUgc3RhY2sgaXMgcHVzaGVkICYgcG9wcGVkIGJ5IHRoZSBjYWxsaW5nIGZ1bmN0
aW9uLFxwYXINCndlIHdvbid0IGhhdmUgYW55dGhpbmcgbGVmdCBvbiB0aGUgc3RhY2sgLi4uXHBh
cg0KXHBhcg0KcmVnYXJkc1xwYXINCi0tXHBhcg0KICBCZXJuaGFyZCB9fQDiXOUi
----boundary-LibPST-iamunique-1306397199_-_---
Received on Fri Jul 03 2009 - 08:56:18 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:46 UTC