title: How do I set up a Visual Studio 2010 project for building a 64 bit extension dll for Slickedit 17?
body: <p>I am migrating to Windows 7, moving into <em>Slickedit 17</em> <strong>64 bit</strong> and have an old Slickedit extension DLL that is 32 bit that I need to recreate as 64 bit. This DLL is basically a bunch of wrappers for WinAPI calls.</p>
  
  <p>Slickedit comes with an example 32 bit 'simple.dll' project (ahem) that is only a makefile. I need to know how to set up a Visual Studio project to build a 64 bit DLL using Slickedits libs.</p>
  
  <p>The provided makefile is as follows:</p>
  
  <pre><code># This makefile supports the following Visual C++ versions: 
  # 7.10 (Visual Studio 2003), 8.00 (Visual Studio 2005),
  # and 9.00 (Visual Studio 2008)
  #
  # Nmake macros for building Windows 32-Bit apps
  !include &lt;Win32.mak&gt;
  
  # Set linkdebug to nothing to link DLL without debug
  #linkdebug=
  
  DLLNAME=simple
  cflags=$(cflags) -D_WINDOWS -I..\..\h
  
  all: $(DLLNAME).lib $(DLLNAME).dll
  
  # Update the object files if necessary
  
  $(DLLNAME).obj: $(DLLNAME).cpp
      $(cc) $(cflags) $(cvarsmt) $(cdebug) -Tp $*.cpp
  
  # Update the import library
  
  $(DLLNAME).lib: $(DLLNAME).obj $(DLLNAME).def
      $(implib) -machine:$(CPU) \
      -def:$(DLLNAME).def $*.obj -out:$*.lib
  
  # Update the dynamic link library
  
  LIBDIR=lib
  $(DLLNAME).dll: $(DLLNAME).obj $(DLLNAME).def makefile
      $(link) $(linkdebug) \
      -NODEFAULTLIB:libc -base:0x1C000000  \
      -dll -entry:_DllMainCRTStartup$(DLLENTRY) \
      -out:$*.dll  \
      $*.exp $*.obj ..\..\$(LIBDIR)\dllmain.obj ..\..\$(LIBDIR)\vsapi.lib ..\..\$(LIBDIR)\secommon.lib $(conlibsmt)
  
  clean :
      del $(DLLNAME).dll $(DLLNAME).obj $(DLLNAME).pdb $(DLLNAME).ilk
  </code></pre>
  
  <p>Makefiles aren't my thing, and this one is set for 32 bit anyhow. So how do I setup a Studio Project to handle this type of C++ build. I've got:</p>
  
  <ul>
  <li>C:\se17\lib\dllmain.obj</li>
  <li>C:\se17\lib\secommon.lib</li>
  <li>C:\se17\lib\tagsdb.lib</li>
  <li>C:\se17\lib\vsapi.lib</li>
  </ul>
  
  <p>And a supplied header directory in C:\se17\h</p>
  
  <p>I am asking on SO because I am pretty skeptical about getting a decent response on community.slickedit.com, god love them anyway</p>