Hi Randy,
cl.exe -c -W3 %CFLAGS% -I%HB_INC_INSTALL% -DWIN32_LEAN_AND_MEAN - D_MSC_VER=1010 -Tp %1.C
-DWIN32_LEAN_AND_MEAN is not necessary for .c files generated by Harbour compiler, as we don't include any Windows headers from them (unless you happen to use inline C). -D_MSC_VER is dangerous and shouldn't be used, as Paul said. If you do a default Harbour build with MSVS2005, you can see a working set of options in the generated output. Just don't forget to set HB_VISUALC_VER envvar to 80. Brgds, Viktor _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour