#2 patch for Windows


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


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

    Len Sassaman - 2001-11-07

    Logged In: YES

    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

    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

    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

    Did you happen to get this code from

  • Len Sassaman

    Len Sassaman - 2001-12-11

    Logged In: YES

    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

    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