Re: [BLACKBOX] Debugging dll accessing programs

From: [at]} <Josef>
Date: Tue, 15 Mar 2011 08:24:36 +0100

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

> Some Gtk structs contain arrays. A C array variable is a pointer to the
> first array element. So it should translate to Component Pascal as
> POINTER TO ARRAY [untagged] <size> OF <base type>
> Correct?

This is correct, as far as I can see,
but you also have to look at the <base type>.

> From your answer I deduce that these data aren't of much use for a
> simple application programmer. Debugging consists of staring at the
> source code in such a case, correct?

yes, and making some experiments.

Try to verify that the Main routine is invoked correctly.
Does the dll need something like an initialization?
Are you accessing it via an interface module?

- JT


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-71239541_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwID4gU29tZSBHdGsgc3RydWN0cyBjb250YWluIGFy
cmF5cy4gQSBDIGFycmF5IHZhcmlhYmxlIGlzIGEgcG9pbnRlciB0byB0aGUgXHBhcg0KPiBmaXJz
dCBhcnJheSBlbGVtZW50LiBTbyBpdCBzaG91bGQgdHJhbnNsYXRlIHRvIENvbXBvbmVudCBQYXNj
YWwgYXNccGFyDQo+IFBPSU5URVIgVE8gQVJSQVkgW3VudGFnZ2VkXSA8c2l6ZT4gT0YgPGJhc2Ug
dHlwZT5ccGFyDQo+IENvcnJlY3Q/XHBhcg0KXHBhcg0KVGhpcyBpcyBjb3JyZWN0LCBhcyBmYXIg
YXMgSSBjYW4gc2VlLFxwYXINCmJ1dCB5b3UgYWxzbyBoYXZlIHRvIGxvb2sgYXQgdGhlIDxiYXNl
IHR5cGU+LlxwYXINClxwYXINCj4gRnJvbSB5b3VyIGFuc3dlciBJIGRlZHVjZSB0aGF0IHRoZXNl
IGRhdGEgYXJlbid0IG9mIG11Y2ggdXNlIGZvciBhIFxwYXINCj4gc2ltcGxlIGFwcGxpY2F0aW9u
IHByb2dyYW1tZXIuIERlYnVnZ2luZyBjb25zaXN0cyBvZiBzdGFyaW5nIGF0IHRoZSBccGFyDQo+
IHNvdXJjZSBjb2RlIGluIHN1Y2ggYSBjYXNlLCBjb3JyZWN0P1xwYXINClxwYXINCnllcywgYW5k
IG1ha2luZyBzb21lIGV4cGVyaW1lbnRzLlxwYXINClxwYXINClRyeSB0byB2ZXJpZnkgdGhhdCB0
aGUgTWFpbiByb3V0aW5lIGlzIGludm9rZWQgY29ycmVjdGx5LlxwYXINCkRvZXMgdGhlIGRsbCBu
ZWVkIHNvbWV0aGluZyBsaWtlIGFuIGluaXRpYWxpemF0aW9uP1xwYXINCkFyZSB5b3UgYWNjZXNz
aW5nIGl0IHZpYSBhbiBpbnRlcmZhY2UgbW9kdWxlP1xwYXINClxwYXINCi0gSlRccGFyDQpccGFy
DQpccGFyDQotLS0tXHBhcg0KVG8gdW5zdWJzY3JpYmUsIHNlbmQgYSBtZXNzYWdlIHdpdGggYm9k
eSAiU0lHTk9GRiBCTEFDS0JPWCIgdG8gTElTVFNFUlZATElTVFMuT0JFUk9OLkNIXHBhcg0KfQ==
----boundary-LibPST-iamunique-71239541_-_---
Received on Tue Mar 15 2011 - 08:24:36 UTC

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