Click here to get back home

help on how to use PERL to do a "postmessage" to a windows handle

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
help on how to use PERL to do a "postmessage" to a windows handle Paul S. 01-16-2005
Posted by Paul S. on January 16, 2005, 12:10 pm
Please log in for more thread options
Hi,
I want to use PERL to communicate with another software package I have.
The other software allows one to "talk" to it using the postmessage
command. I am using activestate PERL - do you know where I can get a
compatible (to active state PERL 5.6) module that has the postmessage
function?

Thanks

Paul


Posted by Thomas Kratz on January 17, 2005, 11:59 am
Please log in for more thread options
Paul S. wrote:
> Hi,
> I want to use PERL to communicate with another software package I have.
> The other software allows one to "talk" to it using the postmessage
> command. I am using activestate PERL - do you know where I can get a
> compatible (to active state PERL 5.6) module that has the postmessage
> function?

You can try to implement the API calls through Win32::API. But as
PostMessage just puts events into the application window's message queue,
perhaps something like Win32::SetupSup would be easier, provided you want
to controll a GUI from a Perl program.

I can't tell you more without a better description of what you want to do
exactly.

By the way: it's Perl, not PERL!

Thomas

--
$/=$,,$_=<DATA>,s,(.*),$1,see;__END__
s,^(.*
Posted by Thomas Kratz on January 17, 2005, 12:00 pm
Please log in for more thread options
Thomas Kratz wrote:

> You can try to implement the API calls through Win32::API. But as
> PostMessage just puts events into the application window's message
> queue, perhaps something like Win32::SetupSup would be easier, provided

Make that Win32::Setupsup.

Thomas

--
$/=$,,$_=<DATA>,s,(.*),$1,see;__END__
s,^(.*
Similar ThreadsPosted
How to handle input and output of a program executed by System function in perl July 18, 2004, 2:31 pm
Windows: Perl:XS July 6, 2005, 4:57 am
Perl on Windows April 18, 2007, 3:30 pm
Imlib2 and Windows perl March 17, 2005, 6:28 am
Windows: Perl:Inline July 6, 2005, 4:56 am
Windows services in PERL July 13, 2006, 3:01 pm
Installing Perl InlineC module in Windows 2003 August 4, 2005, 9:11 pm
Tie::Handle::CSV Help... July 23, 2006, 2:00 pm
Tie::Handle::CSV and newlines February 1, 2007, 1:47 am
Archive::Tar and how to handle *.bz2 archives? September 13, 2005, 3:18 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap