Re: n00b question

"Boggess, Rod" <[email protected]> Tue, 12 Jun 2012 11:06:45 -0400
Newsgroups gmane.comp.gcc.cgicc.general
Message-ID <93ACAE2F49E45749818DC3D494AA311E052387AB@cfs-svr-02.corefurnace.local>
This is a multi-part message in MIME format.

--===============8861001523189262293==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01CD48AC.FB99F045"

This is a multi-part message in MIME format.

------_=_NextPart_001_01CD48AC.FB99F045
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

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.)

=20

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

=20

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.

=20

From: Jay Sprenkle [mailto:[email protected]]=20
Sent: Tuesday, June 12, 2012 10:25 AM
To: Boggess, Rod
Subject: Re: [help-cgicc] n00b question

=20

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=20

=20

On Mon, Jun 11, 2012 at 1:08 PM, Boggess, Rod <[email protected]>
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.)=20

=20

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.

=20

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.

=20


_______________________________________________
help-cgicc mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-cgicc





=20

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


------_=_NextPart_001_01CD48AC.FB99F045
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 14 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Thanks. I don&#8217;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&#8217;s great. (cgic makes you use cgimain =
which it calls from within its own main function, and it assumes =
you&#8217;ll be doing HTML forms processing. I&#8217;m glad to see these =
guys left control in the hands of the programmer &#8211; makes it more =
versatile.)<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>I haven&#8217;t looked through which classes are used for what yet, =
but I can get that pretty quickly, I think.<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Have you tried linking this in with Visual Studio? Windows tools are =
typically &#8211; peculiar in their support of ANSI standards. I =
didn&#8217;t see anything in there about how to make it work in Visual =
Studio. I&#8217;m seeing some stuff on google about linking to&nbsp; a =
static library, rather than dynamic, but I&#8217;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&#8217;t any link here on setting this up to work =
on IIS, Windows, Visual Studio. It looks like it&#8217;s going to be =
hit-or-miss in that regard.<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> =
Jay Sprenkle [mailto:[email protected]] <br><b>Sent:</b> Tuesday, June =
12, 2012 10:25 AM<br><b>To:</b> Boggess, Rod<br><b>Subject:</b> Re: =
[help-cgicc] n00b question<o:p></o:p></span></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><div><p class=3DMsoNormal>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.<o:p></o:p></p></div><div><p =
class=3DMsoNormal>Cgicc can parse request data without generating any =
HTML. You just don't use the html portions of the =
library.<o:p></o:p></p></div><div><p class=3DMsoNormal>Their =
documentation is here<o:p></o:p></p></div><p class=3DMsoNormal><a =
href=3D"http://www.gnu.org/software/cgicc/doc/lib_overview.html">http://w=
ww.gnu.org/software/cgicc/doc/lib_overview.html</a>&nbsp;<o:p></o:p></p><=
div><p class=3DMsoNormal =
style=3D'margin-bottom:12.0pt'><o:p>&nbsp;</o:p></p><div><p =
class=3DMsoNormal>On Mon, Jun 11, 2012 at 1:08 PM, Boggess, Rod &lt;<a =
href=3D"mailto:[email protected]" =
target=3D"_blank">[email protected]</a>&gt; =
wrote:<o:p></o:p></p><div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>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&#8217;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.) <o:p></o:p></p><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p><=
/o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I really =
don&#8217;t care about any other processing, just the GET data, and =
I&#8217;m pretty sure that wouldn&#8217;t be too difficult to do without =
the overhead of any library, but figured I&#8217;d 1) Leave room for =
growth, 2) not re-invent the wheel.<o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p><=
/o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>The web =
page says cgicc &#8220;documentation can be found at.&#8221; Not =
&#8220;at: <a href=3D"http://some.web-address.com" =
target=3D"_blank">http://some.web-address.com</a>.&#8221;, just =
&#8220;at.&#8221; If someone could just point me towards the =
documentation, I&#8217;ve brought my own reading glasses and have plenty =
of hot tea. Any insights or experiences are certainly also =
welcome.<o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p><=
/o:p></p></div></div><p class=3DMsoNormal =
style=3D'margin-bottom:12.0pt'><br>______________________________________=
_________<br>help-cgicc mailing list<br><a =
href=3D"mailto:[email protected]">[email protected]</a><br><a =
href=3D"https://lists.gnu.org/mailman/listinfo/help-cgicc" =
target=3D"_blank">https://lists.gnu.org/mailman/listinfo/help-cgicc</a><o=
:p></o:p></p></div><p class=3DMsoNormal><br><br =
clear=3Dall><o:p></o:p></p><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><p class=3DMsoNormal>-- =
<br>---<br>&quot;There's a zombie outbreak! &nbsp;Oh, no, wait a =
second... &nbsp;It's just a bunch of kids =
texting.&quot;<o:p></o:p></p></div></div></body></html>
------_=_NextPart_001_01CD48AC.FB99F045--


--===============8861001523189262293==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
help-cgicc mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-cgicc

--===============8861001523189262293==--