Rick wrote:
>
> Is there a way to detect whether the VC++ processor pack
> is installed or not? Apparently the processor pack does
> not work with the standard edition, only professional.
Are you talking about the Platform SDK?
The Processor Pack release includes the following directive:
_MSC_FULL_VER
Defines the full version number for the compiler (cl.exe). _MSC_FULL_VER
allows you to put in your code conditional statements that are based on
which version of the compiler is being used.
Version number is in the format MajorMinorBuild.
major
The major version of the compiler.
minor
The minor (or point release) version of the compiler.
build
The Microsoft-specific number of the build.
If you enter cl /? at the command line, you will see the full version for
the compiler you are using. For example, in Visual C++ 6.0, the version
number is 12.00.8168.
Terry Leeper
Program Manager
Visual C++
"Rick" <chaot...@yahoo.com> wrote in message
news:00c001c0fe8a$cd620930$b1e62ecf@tkmsftngxa04...
> Is there a way to detect whether the VC++ processor pack
> is installed or not? Apparently the processor pack does
> not work with the standard edition, only professional.
>
> I want my code to be compatible with whichever compiler
> people are using. Would be nice if there was a
> preprocessor directive or something that I could use to
> conditionally compile that code.
>
> Please e-mail me any responses to chaot...@yahoo.com
>
> Thanks,
> --Rick