Before running command-line compiler, run VCVARS32.BAT from VC98/Bin
directory under the directory where Visual Studio is installed. It sets
up various environment variables, among them the one that lists
directories with .h files.
--
With best wishes,
Igor Tandetnik
"For every complex problem, there is a solution that is simple, neat,
and wrong." H.L. Mencken
Quote:
> I'm trying to run an example from the book "Beginning ATL 3 COM
Programming"
> by Dr. Grimes. The example demonstrates a dcom programs. When I'm
trying to
> perform nmake, I receive the following errors:
> nmake serverinfops.mk
> *************************************************************
> Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
> Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
> cl /c /Ox /DWIN32 /D_WIN32_WINNT=0x0400 /DREGISTER_PROXY_DLL dlldata.c
> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for
80x86
> Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
> dlldata.c
> dlldata.c(15) : fatal error C1034: rpcproxy.h: no include path set
> NMAKE : fatal error U1077: 'cl' : return code '0x2'
> Stop.
> *****************************************************************
> Any ideas ?