At 05:18 PM 5/1/01 +1000, you wrote:
>Essentially what I'm doing is this (simplified version):
>--------------------------------------------------------
>
>I have a MB procedure called MyProc_MB which calls a Delphi4 DLL procedure
>MyProc_D(hWnd, MyVarible).  I'm passing both parameters by reference.
>
>MyProc_D then activates a form with a text box, and shows the contents of
>MyVariable in that text box.  At this point MyProc_D dies and MyVaraible
>along with it - control is now passed to the form.
>
>The user now makes text changes to the text box.

I've done similar things many times. Unless your form isn't actually in the 
dll I don't see why MyProc_D would be unloaded.  What I would do is have 
MyProc_D  create the form, set the value on the form from the MyVarible and 
show it modally. When the modal form returns retrieve the appropriate value 
and set it to MyVarible. Then free the form and bob's your uncle. 
Basically, you are building a wrapper for the form class.

cheers

Marc Pelletier



_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.

Reply via email to