httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Hyde <>
Subject Re: can anyone explain how to add modules to win32 build?
Date Mon, 12 Jan 1998 13:18:32 GMT
>On Mon, 12 Jan 1998, Marc Slemko wrote:
>> I far prefer using pretty GUIs to cp and vi.
>If its a core module (like mod_mime, mod_negotiation, etc) simply add the
>source file to the files in the ApacheCore project.
>But you probably want to build it as an external (DLL) module. So create a
>new project to build a DLL (if you want to late commit it to Apache, start
>the project in src/os/win32). Make src/main an include directory for the
>pre-processor. Link against ApacheOS.lib, ap.lib, ApacheCore.lib (in the
>appropriate "D" or "R" directories, for debug or release). Once built,
>move the DLL to /apache/modules (or wherever) and add a LoadModule line. 
>Is that what you wanted to know?

I find that while developing a module your far better off adding it
to the core project.  You can't set breakpoints that persist from
one run to the next on a dynamicly loaded DLL.  Meanwhile I was getting
crashes of Apache, and the developer's studio when I had my module in
it's own DLL.  - ben

View raw message