|
Michael, Are you saying create a service on Windows and have that service "wait" for something like a dataq, but in the windows space? I see you said you were using rexec, but I got the feeling you were looking to replace that. What would invoke this request? I don't mean from a technology point of view -- I think that's the question you're asking -- but I mean from a platform question. Who is consuming this service? Other VB apps on the same machine? Other VB on another machine, RPG on iSeries? Based on the answer to whose consuming the service there are several options, from web services to MQSeries, to MSMQ, to indeed using dataqs on the iSeries. -Walden ------------ Walden H Leverich III President & CEO Tech Software (516) 627-3800 x11 WaldenL@xxxxxxxxxxxxxxx http://www.TechSoftInc.com Quiquid latine dictum sit altum viditur. (Whatever is said in Latin seems profound.) -----Original Message----- From: pctech-bounces@xxxxxxxxxxxx [mailto:pctech-bounces@xxxxxxxxxxxx] On Behalf Of michael@xxxxxxxxxxxxxxxxxx Sent: Monday, 14 March, 2005 11:10 To: PCTech PCTech Subject: [PCTECH] Messaging to a Service Here's my condundrum. I have some VB applications that are executed on the PC under a specific user ID. The invocation is via rexec, so the user id is passed in. A normal user has little authority, and they don't have the authority to run these applications. So I was thinking of creating a service that would run under the priveleged user and execute the applications for the unprivledged user. Question: How do I send a message to the service? I could do something like changing a file and having the service poll the file, but that seems 'busy'. I guess I could do it with sockets, but that seems like more effort than I want to spend. What I really want to do is have the service wait on a data queue <smile>. All ideas appreciated... -- This is the PC Technical Discussion for iSeries Users (PcTech) mailing list To post a message email: PcTech@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/pctech or email: PcTech-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/pctech.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.