Board index » delphi » Centura calls MDIChild in Delphi's dll

Centura calls MDIChild in Delphi's dll

I'm having problem when calling MDIChild wrapped in DLL written in D3 from
Centura application.
I think that my problem is in handling Screen and Application variables in
DLL. After calling
the DLL's function which creates MDIChild, I'm getting 'No active MDIform'
message, that is because I can't lookup or pass the appropriate information
for Screen and Application variables
from main Centura application. If only I can get this variables as
parameters from Centura, I will be able to substitute the variables with one
using in DLL after loading.

If anyone can help me solving this problem, I'll be very pleased !!!

Mario Curcija
mcurc...@hrvatska.com

 

Re:Centura calls MDIChild in Delphi's dll


I think what you need to do is use the API functions that let you
get the Class information of  an application, all you need is the window
handle to this..

Mario Curcija <mcurc...@hrvatska.com> wrote in article
<6rr85m$...@as041.tel.hr>...

Quote
> I'm having problem when calling MDIChild wrapped in DLL written in D3
from
> Centura application.
> I think that my problem is in handling Screen and Application variables
in
> DLL. After calling
> the DLL's function which creates MDIChild, I'm getting 'No active
MDIform'
> message, that is because I can't lookup or pass the appropriate
information
> for Screen and Application variables
> from main Centura application. If only I can get this variables as
> parameters from Centura, I will be able to substitute the variables with
one
> using in DLL after loading.

> If anyone can help me solving this problem, I'll be very pleased !!!

> Mario Curcija
> mcurc...@hrvatska.com

Other Threads