python,interpreter,interprocess
Generally speaking, you don't want any script to run as Super User unless the script invoking it was called with Super User. This is not only an issue of good practice and secure programming, but also programmer etiquette. If any part of your program requires use of Super User, this...
c++,boost,shared-memory,interprocess
You have to make the keytype allocate from the shared memory area too. There are a number of Boost IPC samples that define a shared_string for this purpose. You can re-use this. The same goes for the std::string inside the ZipRangeInfo type. Yes, this is a lot of work and...
javafx,processing,copy-paste,interprocess
Your idea about having your editor GUI interact with the Processing GUI is... messy. And unreliable. GUIs are meant for human interaction, not automatic interaction, and there's usually a better way to do what you want. The processing-java program included in the Processing download can be run from the command...
c++,winapi,interprocess,common-controls
Unfortunately, this is not easily possible when accessing a window created by another program, because the system doesn't do the necessary window message marshalling of pointers. You would need to do this from a shared DLL file (create some system-wide Windows Hook in it to load it into other processes)...
It's safe. The relevant part of the doc is: Threads can put messages in the queue and they can also remove messages from the queue. You can also look at the implementation, which is entirely in the header boost/interprocess/ipc/message_queue.hpp, in particular the private member function do_receive(). If you ignore all...
c#,windows-services,interprocess
When two processes need to communicate, they do so using one of any number of inter-process communication (IPC) mechanisms. The answers to this SO post give you a few ideas of the possibilities. To this I would add WCF, which is the Microsoft-recommended way of having two .NET-based applications talk...
c++,templates,boost,variadic-templates,interprocess
You need to call construct to create map inside shmem instead of using new, plus few more fixes: typedef void* mem_managed_type; // GLE_GLOBAL is just void *, but changing it to int doesn't work struct global_ptr_state{}; // This is just a POD struct, the definition doesn't matter typedef managed_windows_shared_memory mem_manager_t;...
From what I can tell - if you've used exactly the same MSDN code for your server side - the server is waiting for input before it writes anything to the pipe. If your client never sends anything then pipe.readLine will block until the connection is severed. Java isn't my...