help-cgicc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [help-cgicc] n00b question


From: Jay Sprenkle
Subject: Re: [help-cgicc] n00b question
Date: Tue, 12 Jun 2012 10:18:33 -0500

I have not tried using Visual Studio with C/C++ since VC 6.
Microsoft seems to be pushing programmers away from native code in favor of CLR.
I'm using NetBeans 6.9.1 (I had issues with 7.0 and did not upgrade) and gcc.
I went that route because I needed native code for windows and linux, Qt, and I liked the netbeans IDE.
That's just personal preference and my situation. There are lots of other alternatives.
Unfortunately none of them are as good at supporting the programmer as the visual studio IDE.

On Tue, Jun 12, 2012 at 10:06 AM, Boggess, Rod <address@hidden> wrote:

Thanks. I don’t see anything in here that indicates it subjugates the standard main function in C++. In fact, it says to create a main function. So that’s great. (cgic makes you use cgimain which it calls from within its own main function, and it assumes you’ll be doing HTML forms processing. I’m glad to see these guys left control in the hands of the programmer – makes it more versatile.)

 

I haven’t looked through which classes are used for what yet, but I can get that pretty quickly, I think.

 

Have you tried linking this in with Visual Studio? Windows tools are typically – peculiar in their support of ANSI standards. I didn’t see anything in there about how to make it work in Visual Studio. I’m seeing some stuff on google about linking to  a static library, rather than dynamic, but I’m also seeing issues with using the included windows project file in the newer visual studio. Without it, there appears to be issues with setting up the environment. Curios that there isn’t any link here on setting this up to work on IIS, Windows, Visual Studio. It looks like it’s going to be hit-or-miss in that regard.

 

From: Jay Sprenkle [mailto:address@hidden]
Sent: Tuesday, June 12, 2012 10:25 AM
To: Boggess, Rod
Subject: Re: [help-cgicc] n00b question

 

I was interested in doing the same thing. I know c++ reasonably well so I just looked at the code I could find via google.

Cgicc can parse request data without generating any HTML. You just don't use the html portions of the library.

Their documentation is here

http://www.gnu.org/software/cgicc/doc/lib_overview.html 

 

On Mon, Jun 11, 2012 at 1:08 PM, Boggess, Rod <address@hidden> wrote:

I was reading an old book on cgic (not cgicc) and they overwrite the main routine. Can someone give me a link to the documentation where I would find out if cgicc does the same. My main interest isn’t so much processing HTML forms, but for pulling out the GET data for manipulating applications running on the server and sending back JSON data. (This is intended for use as a maintenance utility for another application written in C, and the GET data will identify which of a couple dozen programs are to be gracefully shutdown, for example.)

 

I really don’t care about any other processing, just the GET data, and I’m pretty sure that wouldn’t be too difficult to do without the overhead of any library, but figured I’d 1) Leave room for growth, 2) not re-invent the wheel.

 

The web page says cgicc “documentation can be found at.” Not “at: http://some.web-address.com.”, just “at.” If someone could just point me towards the documentation, I’ve brought my own reading glasses and have plenty of hot tea. Any insights or experiences are certainly also welcome.

 


_______________________________________________
help-cgicc mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-cgicc



 

--
---
"There's a zombie outbreak!  Oh, no, wait a second...  It's just a bunch of kids texting."




--
---
"There's a zombie outbreak!  Oh, no, wait a second...  It's just a bunch of kids texting."

reply via email to

[Prev in Thread] Current Thread [Next in Thread]