I had put all the VC++ header files in my project folder.
when i run the command nmake i get the foolowing error msg:
C:\Perl\bin\Remote-Connection\afxv_w32.h(178) : error C2371: 'HKEY' :
+redefinition; different basic types C:\Program Files\Microsoft Visual
+ Studio 8\VC\PlatformSDK\include\windef.h(246) : see declaration of '+HKEY'
.
But if i dont have any Vcc++ dependent header file in my
project folder and try to execute the same follwing error msg pops up
C:\Perl\bin\Remote-Connection>nmake
cp lib/Remote/Connection.pm blib\lib\Remote\Connection.pm
C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils\xsubpp -typemap C:\Perl\lib\ExtUtils\typemap -typemap typemap Connection.xs > Connection.xsc && C:\Perl\bin\perl.exe -MExtUtils::Command -e mv Connection.xsc Connection.c
cl -TP -c -I. -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE-DNO_STRICT -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPRIVLIB_LAST_IN_INC -DPERL_I
MPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" "-IC:\Perl\lib\CORE"
Connection.c
Connection.c
c:\perl\bin\remote-connection\const-c.inc(52) : warning
C4060: switch statement contains no 'case' or 'default' labels C:\Program Files\Microsoft Visual Studio 8\VC\ATLMFC\INCLUDE\afx.h(24) : fatal error C1189: #error : Building MFC application with /MD
d (CRT dll version) requires MFC shared dll version. Please #define _AFXDLL or do not use /MD
d
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\cl.EXE"' : return code '0x2'
Stop.