I'm in trouble using Win32::GUI together with Event::RPC::Server. How
can I run both in my script?

The RPC parts needs the following lines to start:

my $server = Event::RPC::Server->new (
        port    => 5555,
);
$server->start;

and Win32::GUI needs:
Win32::GUI::Dialog();

both are started as threads! How can I start both in one script??

Create a thread and start RPC in that thread, then do Win32::GUI::Dialog() in the main thread.

Cheers,

jez.



Reply via email to