#2 patch for Windows

closed-accepted
None
7
2001-12-11
2001-11-01
Disastry
No

This is a patch allows compile mix with MSVC and
run it as Service (daemon) on Windows NT/2K

Discussion

<< < 1 2 (Page 2 of 2)
  • Len Sassaman

    Len Sassaman - 2001-11-07

    Logged In: YES
    user_id=29569

    Apache appears to include service.c and service.h
    (heavily modified, but derived from the same code as
    the ones you provided) in its source for WinNT.

    This would appear promising.

     
  • Lucky Green

    Lucky Green - 2001-12-10

    Logged In: YES
    user_id=391215

    The standard MSVC sample code license allows you to use
    their sample code anyway you please:

    ---
    This sample code is made available by Microsoft
    Corporation on an as-is basis. Anyone receiving this code
    is considered to be licensed under Microsoft copyrights to
    use the Microsoft-provided source code in any way he or
    she deems fit, including copying it, compiling it,
    modifying it, and redistributing it, with or without
    modifications. No license under any Microsoft patents or
    patent applications is to be implied from this copyright
    license.

    A user of this sample code should understand that
    Microsoft cannot provide technical support for the code
    and will not be responsible for any consequences of its
    use.
    -------

    Did you happen to get this code from
    http://msdn.microsoft.com/library/default.asp?
    url=/library/en-us/dnwbgen/html/msdn_ntservic.asp

     
  • Len Sassaman

    Len Sassaman - 2001-12-11

    Logged In: YES
    user_id=29569

    service.c and service.h added to CVS as-is. Will be in
    the next build.

     
  • Len Sassaman

    Len Sassaman - 2001-12-11
    • status: open-postponed --> closed-accepted
     
  • Disastry

    Disastry - 2001-12-11

    new patch for Windows

     
  • Disastry

    Disastry - 2001-12-11

    Logged In: YES
    user_id=363885

    I finally have made new service.c

    it is better than old one,
    for example now pipes (_popen) works from service too,
    now it checks if it is started as service or not (no extra
    commandline option needed)

    I also moved code from main.c that don't belong there
    out to service.c.
    service.h is no longer needed..

    this patch is for mix-2.9b32, not for the CVS version.

     
<< < 1 2 (Page 2 of 2)

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks