Hi Peter,

Thanks for the response...

>only to by curious - did you turn on "Allow service to interact with
>desktop" by the Service Control Manager or by Windows API. If not,
>messages and GUI components will not show up on the "User Desktop".

>Peter NESWAL

No I haven't 'turned on' this value, and it makes sense, however the admin
module is not running as a service, so would not appear in the 'Services'
panel, and I'm not sure how you would enable it by Windows API... something
to search for on MSDN.

The way I have set it at the moment is to build the admin module (
RTAdmin.dll ) With a method to pass in an array reference, holding my data.
Then a second method, 'Build Admin Window', which contains all the window
and widgets for the module. As there is no further interaction between the
main app and the admin module all I need to do is 'SHOW' the admin GUI. So
the last line of the function is $adminWin->Show();

However as RTAdmin.dll is called from the main app via Win32::OLE I'm not
sure how much of the Win32::GUI stuff is borrowed from main app or whether
it needs its own. ie the Win32:GUI::Dialog() call.

Chris


Reply via email to