title: using cl.exe to create a .lib or .dll
body: <p>I have one .c file and several .h files plus a library I'd like to link to. What is the syntax for creating a dll or lib from my .c file? I tried cl myc.c but it tried to make an exe out of it and was looking for an entrypoint..??
  thanks,
  sb</p>