Do not use nmake (as described by NI) to compile the CIN code. Instead follow these instructions courtesy of Callara:
Create a makefile (using Notepad or something equivalent) with the following
lines:
name=name_of_c_file_without_the_extension
type=CIN
cinlibraries=Kernel32.lib
CINTOOLSDIR=path_to_cintools_directory (in MS-DOS format)
!include <$(CINTOOLSDIR)\ntlvsb.mak>
Save this file with the filename "name_of_c_file.mak" and save it in the
same directory as the C file.
Now, launch VC++.
Choose File -> Open (NOT Open Workspace)
Open the makefile that you just created.
You will get a dialog that says that the makefile was not created with VC++
(choose to proceed)
Now, another dialog that will ask you what kind of platform to use (choose
Win32)
Now, the makefile is lo
aded and the CIN is ready to be built. Choose Build.