Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8516

Re: How to pass info to an app that is already running via commandline parms

$
0
0

If you are using SendMessage, the event pbm_custom01 is eventid 1024, pbm_custom02 is 1025 and so on. So one app can find the window handle and send a message using the eventid that corresponds with the custom event you mapped on the window.

 

Another method would be to use Winsock. The main window of the PB app could listen on a port for messages from the other app.

 

http://www.topwizprogramming.com/freecode_winsock.html


Viewing all articles
Browse latest Browse all 8516

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>