Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 07-14-2006, 03:22 PM   #1 (permalink)
Redline
PHP Student
 
Join Date: Oct 2004
Location: Forest Grove, OR
Posts: 150
Redline is on a distinguished road
Send a message via AIM to Redline Send a message via MSN to Redline
Creating a Windows Service Application from scratch?

I am forced to develop a small application in VS 2003 Standard, in C#. As I understand it, Professional edition has an inbuilt template for Windows Services. It is still possible to build a windows service application in standard correct? Using the System.ServiceBase class?

I have NO idea where to begin with converting my application to a service. Can someone outline the basics for me? I'm having a hard time finding the information on Google since EVERYONE apparently uses the professional edition. I'm the only person on the planet using standard heh...
__________________
Current Project
Redline is offline   Reply With Quote
Old 07-14-2006, 05:18 PM   #2 (permalink)
DJMaze
Senior Contributor
 
DJMaze's Avatar
 
Join Date: Mar 2005
Posts: 673
DJMaze is on a distinguished road
Why C#?
IMHO plain ANSI C will work much better.
DJMaze is offline   Reply With Quote
Old 07-14-2006, 07:33 PM   #3 (permalink)
Redline
PHP Student
 
Join Date: Oct 2004
Location: Forest Grove, OR
Posts: 150
Redline is on a distinguished road
Send a message via AIM to Redline Send a message via MSN to Redline
The librarys I'm using were built in c# 2003, and I'm having issues with them in 2005, so I don't know if I'll be able to make things work in C.

If I can get them to work in C, how would I go about that?

I don't understand the structure of a windows service. I need to provide a windows form to configure the service too
__________________
Current Project
Redline is offline   Reply With Quote
Old 07-15-2006, 03:32 AM   #4 (permalink)
DJMaze
Senior Contributor
 
DJMaze's Avatar
 
Join Date: Mar 2005
Posts: 673
DJMaze is on a distinguished road
Hmm to build a C or C++ version you need to understand windows source.
The MS SDK could provide you parts of that info like
http://msdn.microsoft.com/library/de...lhandlerex.asp

Examples how to create are all over the internet like
http://www.codeproject.com/system/ServiceBase.asp

Another way is to check where the library of C#2005 crashes and is different compared to C#2003
Therefore you must look in the sourcecode of the library.

I don't know where the source is because i only have the .NET sources at my work.
DJMaze is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows - Linux usability teknomage1 Lounge 47 04-12-2007 05:02 PM
Log4j created file not able to delete while testing my application?? j.gohel Java 12 04-07-2006 10:52 AM
Multithreaded application in Windows XP Hamlin Assembly 4 02-19-2006 07:03 PM
Bill Calculation Aznxmel Standard C, C++ 4 03-06-2005 06:44 AM
What makes a network application? sde Program Design and Methods 3 08-03-2003 05:19 PM


All times are GMT -8. The time now is 05:02 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting