Damien Long asked:
> I am trying to access a form that is within a RLL. I can't change the RLL
> but I need to be able to Show the form within that RLL as modeless. Its
> currently being shown as modal by an exported procedure within the RLL.
>
> Thanks in advance.
I don't think that the thanks will not be appropiate after you read this!
As far as I know there is no way to do what you want. Concider the problem
here, your making a call into a DLL that create a windows, shows it modally,
destroys it and them returns to you. Even if you managed to create an exotic
even loop hook that would allow you actually execute some code during the
modal windows life time, there is no way that you can influence all the
support data structures that exist inside the DLL. So as soon as the DLL
thinks that it is done its going to clobber all the memory structure it
created.
And even if you hacked the DLL so that its returned with the window still
existing, and the supporting memory structure in place you have to other
problems, firstly that there are very likely local variables in the called
procedure that will be hard to preseve on the stack, and secondly, when you
are done you don't know how to destroy al the innternal data structuresd
without still more serious binary hacking into the DLL.
Baring some serious reverse engineering you must concider any DLL a black
box, and if it doesn't provide the things you need you can't do anything.
I think that you must either get the source for the DLL, convivce the author
to provide you with what you need, or change providers to one who does what
you need.
Cheers, Max.
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"