help-cgicc
[Top][All Lists]
Advanced

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

Re: [help-cgicc] Help? Windows version


From: Quintin Connell
Subject: Re: [help-cgicc] Help? Windows version
Date: Wed, 13 Nov 2002 11:17:00 +0200 (SAST)
User-agent: IMP/PHP IMAP webmail program 2.2.6

Robert,

You need to patch the following into cgiInput.cpp

STDNS string
CGICCNS CgiInput::getenv(const char *varName)
{
        char *var = 
// MSVC C++ lib problem, <cstdlib> is not in std namespace
#if defined(_MSC_VER) && (_MSC_VER < 1201) // hopefully they get it right next 
time
        :: // don't call the member function
#else 
        STDNS 
#endif
        getenv(varName);
        return (var == 0) ? "" : var;
}

That should do the trick. Let me know.

Quintin

Quoting "Robert A. Jenkin" <address@hidden>:

> Has anyone be able to get version 3.2.1 of cgicc to compile on Windows
> using MS VC++ 6.0?
>  
> Thanks...
>  
>  
> Robert Jenkin
> address@hidden
> 




reply via email to

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