15 мая 2023 года "Исходники.РУ" отмечают своё 23-летие!
Поздравляем всех причастных и неравнодушных с этим событием!
И огромное спасибо всем, кто был и остаётся с нами все эти годы!

Главная Форум Журнал Wiki DRKB Discuz!ML Помощь проекту


MFC and CGI

STAIGER@cim01.ge.fh-ulm.de
Tuesday, June 18, 1996

Hi,

Environment: VC++ 4.0 / Windows NT 3.51


As I tried to develop a CGI-post-query-application for a web-server on Windows NT 3.51,
 (MS-Visual C++ 4.0) development environment,  I had two problems:
1. To create a dynamic web-page by redirecting standard output did 
only work with printf, but not with cout <<: There was no output on 
the web-page.
2. When the application is small (20-30KB), it will work. When the 
programs have MFC-objects like CString-objects or CDatabase-objects they 
have a size from 80-100KB and cause a CGI Error in the browser 
(Netscape 2.0): The specified CGI-application misbehaved by not 
returning a complete set of http headers. The headers it did return 
are:

Does anyone know a list which discusses problems by MFC-applications 
called from Web-Browsers or has someone at this list experience with 
such applications?

Thanks for help.
Dr.S.Staiger
Fachhochschule Ulm - 
Institut fuer Angewandte Forschung - Computerintegrierte Fertigung -
staiger@fh-ulm.de      Tel.(0049)7331/22-555



Carlos Mengotti -- cmengot@ran.es
Tuesday, June 18, 1996

Visual C++ 4.0, NT Server 3.51 SoftPack 3, Internet Information Server

I'm using the MFC for CGI without problems.
Currently it's a DAO console aplication, the size it's about 20 K. =
because of the DLL's and it's used in the Internet Information Server, =
also was tried in the Saick Server.

If your question it's out of interest for this mailing list feel free to =
mail me directly.


-------------------------------------------------------
Carlos Morales Mengotti
C++ & Electronic Publishing
cmengot@ran.es
34 - 1 - 897.78.68
Apartado 23
28210 Valdemorillo (Spain)
--------------------------------------------------------

----------
De:     	STAIGER@cim01.ge.fh-ulm.de[SMTP:STAIGER@cim01.ge.fh-ulm.de]
Enviado: 	martes 18 de junio de 1996 9:56
Para:   	mfc-l@netcom.com
Asunto:     	MFC and CGI

Hi,

Environment: VC++ 4.0 / Windows NT 3.51


As I tried to develop a CGI-post-query-application for a web-server on =
Windows NT 3.51,
 (MS-Visual C++ 4.0) development environment,  I had two problems:
1. To create a dynamic web-page by redirecting standard output did=20
only work with printf, but not with cout <<: There was no output on=20
the web-page.
2. When the application is small (20-30KB), it will work. When the=20
programs have MFC-objects like CString-objects or CDatabase-objects they =

have a size from 80-100KB and cause a CGI Error in the browser=20
(Netscape 2.0): The specified CGI-application misbehaved by not=20
returning a complete set of http headers. The headers it did return=20
are:

Does anyone know a list which discusses problems by MFC-applications=20
called from Web-Browsers or has someone at this list experience with=20
such applications?

Thanks for help.
Dr.S.Staiger
Fachhochschule Ulm -=20
Institut fuer Angewandte Forschung - Computerintegrierte Fertigung -
staiger@fh-ulm.de      Tel.(0049)7331/22-555



Carlos Mengotti -- cmengot@ran.es
Tuesday, June 18, 1996

Visual C++ 4.0, NT Server 3.51 SoftPack 3, Internet Information Server

I'm using the MFC for CGI without problems.
Currently it's a DAO console aplication, the size it's about 20 K. =
because of the DLL's and it's used in the Internet Information Server, =
also was tried in the Saick Server.

If your question it's out of interest for this mailing list feel free to =
mail me directly.


-------------------------------------------------------
Carlos Morales Mengotti
C++ & Electronic Publishing
cmengot@ran.es
34 - 1 - 897.78.68
Apartado 23
28210 Valdemorillo (Spain)
--------------------------------------------------------

----------
De:     	STAIGER@cim01.ge.fh-ulm.de[SMTP:STAIGER@cim01.ge.fh-ulm.de]
Enviado: 	martes 18 de junio de 1996 9:56
Para:   	mfc-l@netcom.com
Asunto:     	MFC and CGI

Hi,

Environment: VC++ 4.0 / Windows NT 3.51


As I tried to develop a CGI-post-query-application for a web-server on =
Windows NT 3.51,
 (MS-Visual C++ 4.0) development environment,  I had two problems:
1. To create a dynamic web-page by redirecting standard output did=20
only work with printf, but not with cout <<: There was no output on=20
the web-page.
2. When the application is small (20-30KB), it will work. When the=20
programs have MFC-objects like CString-objects or CDatabase-objects they =

have a size from 80-100KB and cause a CGI Error in the browser=20
(Netscape 2.0): The specified CGI-application misbehaved by not=20
returning a complete set of http headers. The headers it did return=20
are:

Does anyone know a list which discusses problems by MFC-applications=20
called from Web-Browsers or has someone at this list experience with=20
such applications?

Thanks for help.
Dr.S.Staiger
Fachhochschule Ulm -=20
Institut fuer Angewandte Forschung - Computerintegrierte Fertigung -
staiger@fh-ulm.de      Tel.(0049)7331/22-555




| Вернуться в корень Архива |