473,387 Members | 1,569 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Windows Services

Hi,

I am a newcomer to VC++ (specifically programming on Microsoft
platforms); and I have a very basic question about windows services.

Using Windows Services mechanism is it possible to develop some
application whereby I can have some kind of client-server type of
communication. Let's say I have two machines A and B; with B acting
as server on which I am running some windows service and A acting as
client which requests to windows service running on B. I need to
send/receive messages between these two machines and let's assume
that message size may exceed several KB's.

Can this be done by pure Windows service API and without use of any
kind of TCP-IP/Socket programming?

Thanks
Larry

Dec 14 '06 #1
5 1583

Larry napsal:
Hi,

I am a newcomer to VC++ (specifically programming on Microsoft
platforms); and I have a very basic question about windows services.

Using Windows Services mechanism is it possible to develop some
application whereby I can have some kind of client-server type of
communication. Let's say I have two machines A and B; with B acting
as server on which I am running some windows service and A acting as
client which requests to windows service running on B. I need to
send/receive messages between these two machines and let's assume
that message size may exceed several KB's.

Can this be done by pure Windows service API and without use of any
kind of TCP-IP/Socket programming?

Thanks
Larry
Hi.

It is off topic here. Your question is Windows specific problem, please
post it in relevant forum.

Ondra

Dec 14 '06 #2
Thanks for suggestion Ondra ...

After quite a bit of searching I was able to zero in only on this
group; as I feel this is the only one where I will be able to get
at-least some idea about possible solution. Hopefully VC++ experts on
forum would be able to throw some light on it.

Larry
Ondra Holub wrote:
Larry napsal:
Hi,

I am a newcomer to VC++ (specifically programming on Microsoft
platforms); and I have a very basic question about windows services.

Using Windows Services mechanism is it possible to develop some
application whereby I can have some kind of client-server type of
communication. Let's say I have two machines A and B; with B acting
as server on which I am running some windows service and A acting as
client which requests to windows service running on B. I need to
send/receive messages between these two machines and let's assume
that message size may exceed several KB's.

Can this be done by pure Windows service API and without use of any
kind of TCP-IP/Socket programming?

Thanks
Larry

Hi.

It is off topic here. Your question is Windows specific problem, please
post it in relevant forum.

Ondra
Dec 14 '06 #3
[Please don't Top Post - rearranged inline]
>
Ondra Holub wrote:
Larry napsal:
Hi,
>
I am a newcomer to VC++ (specifically programming on Microsoft
platforms); and I have a very basic question about windows services.
>
Using Windows Services mechanism is it possible to develop some
application whereby I can have some kind of client-server type of
communication. Let's say I have two machines A and B; with B acting
as server on which I am running some windows service and A acting as
client which requests to windows service running on B. I need to
send/receive messages between these two machines and let's assume
that message size may exceed several KB's.
>
Can this be done by pure Windows service API and without use of any
kind of TCP-IP/Socket programming?
>
Thanks
Larry
Hi.

It is off topic here. Your question is Windows specific problem, please
post it in relevant forum.

Ondra
Larry wrote:
Thanks for suggestion Ondra ...

After quite a bit of searching I was able to zero in only on this
group; as I feel this is the only one where I will be able to get
at-least some idea about possible solution. Hopefully VC++ experts on
forum would be able to throw some light on it.
The solution you seek can only be one involving Windows.
Thats off-topic here.
Doesn't it make sense to ask a newsgroup that deals with that very
issue on that particular platform?

Consult the list at:
[5.9] Which newsgroup should I post my questions?
http://www.parashift.com/c++-faq-lite/how-to-post.html

Dec 14 '06 #4

"Larry" <la******@gmail.comwrote in message
news:11**********************@j72g2000cwa.googlegr oups.com...
>
Please don't top-post. I've re-arranged it below.

And please check this group's FAQ, esp. section 5, at:
http://www.parashift.com/c++-faq-lite/
Ondra Holub wrote:
>Larry napsal:
Hi,

I am a newcomer to VC++ (specifically programming on Microsoft
platforms); and I have a very basic question about windows services.

Using Windows Services mechanism is it possible to develop some
application whereby I can have some kind of client-server type of
communication. Let's say I have two machines A and B; with B acting
as server on which I am running some windows service and A acting as
client which requests to windows service running on B. I need to
send/receive messages between these two machines and let's assume
that message size may exceed several KB's.

Can this be done by pure Windows service API and without use of any
kind of TCP-IP/Socket programming?
It is off topic here. Your question is Windows specific problem, please
post it in relevant forum.
After quite a bit of searching I was able to zero in only on this
group; as I feel this is the only one where I will be able to get
at-least some idea about possible solution. Hopefully VC++ experts on
forum would be able to throw some light on it.
We discuss only C++ language-related issues here. Some of us use VC++, but
we don't discuss specifics of that compiler (or Windows-specific issues).

Check out the Microsoft server's groups at msnews.microsoft.com. Or, try a
Google search for something like "windows services vc", and see what groups
have posted responses about the subject in the past.

-Howard

Dec 14 '06 #5
Hello Larry,

On Thu, 14 Dec 2006 15:28:42 UTC, "Larry" <la******@gmail.comwrote:
Hi,

I am a newcomer to VC++ (specifically programming on Microsoft
platforms); and I have a very basic question about windows services.

Using Windows Services mechanism is it possible to develop some
application whereby I can have some kind of client-server type of
communication. Let's say I have two machines A and B; with B acting
as server on which I am running some windows service and A acting as
client which requests to windows service running on B. I need to
send/receive messages between these two machines and let's assume
that message size may exceed several KB's.

Can this be done by pure Windows service API and without use of any
kind of TCP-IP/Socket programming?

Thanks
Larry
In case you haven't found what you've been looking for, Windows
Services are best described as "processes that don't require
a user and likely provide a service for other components."
They aren't anything special. Under linux a service is just
a background task. Windows Services provide an extremely
limited communication mechanism. TCP/IP or similar
communications are much easier to work with.

Just think of creating a console application that communicates
and then figuring out the Windows Magic required to become
a Windows NT Service.

David
Jan 3 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Stefan Hinz | last post by:
Degan, jumping in to try and solve some problems that look pretty obvious to me ... > #options for default service (mysqld2) > (mysqld2) It should be , not (mysqld2).
8
by: Bill Sonia | last post by:
I've written a Windows Service to send e-mails on events like OnStart, OnStop, OnShutDown using System.Web.Mail. It works for everything but OnShutdown. My guess is that for OnShutDown, once my...
3
by: illegal.prime | last post by:
Hi all, I have a service that needs to start a regular windows application. I'm running the service as ServiceAccount.LocalSystem. But, when it starts the process (using Process.Start) the GUI...
5
by: =?Utf-8?B?dmlzaHJ1dGg=?= | last post by:
This code works fine in Windows Application. In Windows Application, I am able to zip the image files properly and it totally contains 900MB My problem is the same code which I used in my Windows...
2
by: =?Utf-8?B?dmlzaHJ1dGg=?= | last post by:
Hi, I have 2 applications running, one Windows application project and the other windows services project. I want to call my Windows application in my windows services. I want to run them as...
1
by: =?Utf-8?B?dmlzaHJ1dGg=?= | last post by:
Hi, I have 2 applications running, one Windows application project and the other windows services project. I want to call my Windows application in my windows services. I want to run them as...
5
by: dm3281 | last post by:
I'm really starting to hate writing services -- or trying to, anyway. Why do I need to rename my project to the service name? Why do I need to set the "ServiceName" property to my service name?...
0
AmberJain
by: AmberJain | last post by:
Windows Autorun FAQs: Overview NOTE- This complete article on "Windows Autorun FAQs" applies theoretically to all Windows NT-based OSes till Windows Vista (and probably Vista's successors too)....
0
AmberJain
by: AmberJain | last post by:
Windows Autorun FAQs: List of autostart locations Linked from the Original article- "Windows Autorun FAQs: Description". Que: Can you list all the autostart locations for windows? Ans: Here is...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.