logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Building & Member Downloads View previous topic :: View next topic
Reply to topic   Topic: Module with Visual Studio 08 C++
Author
zodiacxp



Joined: 26 Sep 2009
Posts: 2

PostPosted: Sun 27 Sep '09 12:15    Post subject: Module with Visual Studio 08 C++ Reply with quote

Hello.

After I failed under Eclipse I tried VS08 C++ and the Apache-Source (2.2.13). This is it:

What kind of Project must the Projectmap have for new modules? Windows Forms Application?

And how to include the APR? The Compiler always throws some errors.

Thanks,
Zod
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Sun 27 Sep '09 19:55    Post subject: Reply with quote

what module are you trying to build?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7298
Location: Germany, Next to Hamburg

PostPosted: Sun 27 Sep '09 20:13    Post subject: Reply with quote

@Gregg I think he wants to build his own module and aks which "template" hw shall use. e.g. Win32 Console Application
And how to include the APR code into it.
Back to top
zodiacxp



Joined: 26 Sep 2009
Posts: 2

PostPosted: Sun 27 Sep '09 21:39    Post subject: Reply with quote

Yes, that's it. In addition: C++ is not the problem and I approximately know which functions must be written (some books helped me out).
But I wanted to make a new module and have no idea what I have to do within Visual Studio. So I hope you can help me out.
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Sun 27 Sep '09 22:01    Post subject: Reply with quote

it would be a win32 dll project

but typically you do not need to use the IDE, just build from command line is sometimes easier. One could modify an existing .dsp file for some other module, changing paths in the CFLAGS and LIBS & Source filenames lines. I do this at times if I want to use the IDE.

See my second post here for command line example also further below in that thread is about embedding the manifest since I had forgotten about it till later.

http://www.apachelounge.com/viewtopic.php?t=3048

From the command line you should have a look at
C:\> cl /?
C:\> link /?


Oh, and 2.2.13 is a bear to build w/o a patch for the makefile.
http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/Makefile.win?r1=799070&r2=803161&view=patch


Other FYI:

http://www.apachelounge.com/viewtopic.php?t=3165
http://www.apachelounge.com/viewtopic.php?t=3048
Back to top


Reply to topic   Topic: Module with Visual Studio 08 C++ View previous topic :: View next topic
Post new topic   Forum Index -> Building & Member Downloads