Sure. Some of my colleagues have done so in our app but I believe that the domain should be configured and executed in a manner as decoupled from the app as possible. They've also taken to stopping the ospl services when the primary app closes which dislike even more. Are you confirming that a windows service installer is not included in the community edition?
________________________________ From: developer-boun...@opensplice.org [developer-boun...@opensplice.org] on behalf of Volckaert, Guy (CA - MTS) [guy.volcka...@meggitt.com] Sent: Monday, November 07, 2011 4:51 PM To: OpenSplice DDS Developer Mailing List Subject: Re: [OSPL-Dev] OSPL 5.4.1 as a Windows Service Instead of running as a service, you can always started the deamons yourself (i.e. within your application): Here is an code snipit taken from SIMD (http://code.google.com/p/simd-cxx/): #include <boost/process.hpp> namespace bp = boost::process; int startOpenSplice() { std::string exec(bp::find_executable_in_path("ospl")); std::vector<std::string> args; args.push_back(exec); args.push_back("start"); bp::context ctx; ctx.environment = bp::self::get_environment(); ctx.stdout_behavior = bp::silence_stream(); bp::child c = bp::launch(exec, args, ctx); bp::status s = c.wait(); return s.exited() ? s.exit_status() : 1; } Regards, From: developer-boun...@opensplice.org [mailto:developer-boun...@opensplice.org] On Behalf Of Daniel Leavitt - ARA/NED Sent: November-07-11 3:51 PM To: developer@opensplice.org Subject: [OSPL-Dev] OSPL 5.4.1 as a Windows Service Hi, I found a reference in http://dev.opensplice.org/pipermail/announce/2011-January/000021.html announcing that the OpenSplice daemon can now be installed as a Windows service. It further explains some options to select when doing the product install. My problem is that I’ve never found an installer for the community edition. Can someone enlighten me? Thanks, Dan ________________________________ This email may contain proprietary information and/or copyright material. This email is intended for the use of the addressee only. Any unauthorized use may be unlawful. If you receive this email by mistake, please advise the sender immediately by using the reply facility in your email software. Information contained in and/or attached to this document may be subject to export control regulations of the European Community, USA, or other countries. Each recipient of this document is responsible to ensure that usage and/or transfer of any information contained in this document complies with all relevant export control regulations. If you are in any doubt about the export control restrictions that apply to this information, please contact the sender immediately. Be aware that Meggitt may monitor incoming and outgoing emails to ensure compliance with the Meggitt IT User policy.
_______________________________________________ OpenSplice DDS Developer Mailing List Developer@opensplice.org Subscribe / Unsubscribe http://dev.opensplice.org/mailman/listinfo/developer