the heap and dynamic link libaries...

From: Thomas, Andrew <"Thomas,>
Date: Wed, 18 Jun 2003 14:31:56 +0100

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

Dear CP fans,

When Blackbox is used to make a Windows program, does that program has sole
control of the heap. What happens when Blackbox is used to make a DLL to be
called from a C program? Are there two heaps in this case a Blackbox heap
and a C heap?

Will global variables in a Blackbox DLL persist until the DLL is unloaded?

If the module loader is linked into the DLL then the DLL can load new
modules at run time and metaprogramming and Dialog.Call work. What directory
structure does the loader assume to find the required modules and can this
be changed?

Sorry if some of the questions sound confused. I am confused!

Best regards

        Andrew
--------------------------------------------

To unsubscribe from this mailing list, send a message containing the word "unsubscribe" to:
   blackbox-request{([at]})nowhere.xy

To get a list of valid e-mail commands and instructions on their usage, send a message containing the word "help" to the above address.

Send any problem reports or questions related to this email list to the list owner at
   owner-blackbox{([at]})nowhere.xy

Current posting policy:

a) To post you should use the same address by which you are subscribed to the mailing list. That way, the list server will recognize you as subscriber and forward your posting immediately, without creating any overhead.

b) If, for some reason, you cannot post from the address, by which you are subscribed, your message will be moderated to avoid spam. Please understand that moderation will often cause some delay, in particular over weekends or holydays.


----boundary-LibPST-iamunique-1306698802_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"

e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIERlYXIgQ1AgZ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GJlIG1vZGVyYXRlZCB0byBhdm9pZCBzcGFtLiBQbGVh
c2UgdW5kZXJzdGFuZCB0aGF0IG1vZGVyYXRpb24gd2lsbCBvZnRlbiBjYXVzZSBzb21lIGRlbGF5
LCBpbiBwYXJ0aWN1bGFyIG92ZXIgd2Vla2VuZHMgb3IgaG9seWRheX19AGUgbWFpbA==


----boundary-LibPST-iamunique-1306698802_-_---
Received on Wed Jun 18 2003 - 15:31:56 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:29:11 UTC