Re: [BLACKBOX] Call GTK from blackbox

From: [at]} <Romiras>
Date: Sun, 30 Jan 2011 09:12:54 +0200

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

2011/1/29 Frank Hrebabetzky <hreba{([at]})nowhere.xy
> Hi,
>
> I want to use GTK with Blackbox. Therefore I must call
>
>        void gtk_init (int *argc, char ***argv);
>
> What would be the corresponding interface procedure?
> Where do I get argc, argv from?

For *Linux* compiler:
gtk.gtk_init(SYSTEM.ADR(Kernel.bootInfo.argc),
SYSTEM.ADR(Kernel.bootInfo.argv));

For Windows see at MSDN:
http://msdn.microsoft.com/en-us/library/ms683156(v=vs.85).aspx


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-1027737292_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzc1xmY2hhcnNldDAgQXJpYWw7fQ0Ke1xmMVxmbW9kZXJuIENvdXJpZXIgTmV3O30NCntcZjJc
Zm5pbFxmY2hhcnNldDIgU3ltYm9sO30NCntcZjNcZm1vZGVyblxmY2hhcnNldDAgQ291cmllciBO
ZXc7fX0NCntcY29sb3J0YmxccmVkMFxncmVlbjBcYmx1ZTA7XHJlZDBcZ3JlZW4wXGJsdWUyNTU7
fQ0KXHVjMVxwYXJkXHBsYWluXGRlZnRhYjM2MCBcZjBcZnMyMCAyMDExLzEvMjkgRnJhbmsgSHJl
YmFiZXR6a3kgPGhyZWJhQHRlcnJhLmNvbS5icj46XHBhcg0KPiBIaSxccGFyDQo+XHBhcg0KPiBJ
IHdhbnQgdG8gdXNlIEdUSyB3aXRoIEJsYWNrYm94LiBUaGVyZWZvcmUgSSBtdXN0IGNhbGxccGFy
DQo+XHBhcg0KPiBcJ2EwIFwnYTAgXCdhMCBcJ2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