2
votes

I'm trying to build Text Services Framework Sample Codes using Visual Studio 2012 on Windows 8 RC 64bit. The instructions on these samples were based on VS 2003. Here's the part of that (wrote my problems in bold)

  1. Open a command window.
  2. Run vsvars32.bat. If you have Visual Studio .NET 2003 installed on your C: drive, the command is "C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\vsvars32.bat".
  3. Run SetEnv.bat. If you have Visual Studio .NET installed on your C: drive, the command is "C:\Program Files\Microsoft SDK\SetEnv.bat" /RETAIL. (I couldn't find the file on my system)
  4. Navigate to the sample directory.
  5. Run nmake. (Getting error here: win32.mak not found)

What might be the possible solution?

2
i am using visual studio 2011 same issue is happening how to run dll file - Narasimha
For what it's worth, the TSF examples do compile under VS2010's command prompt. - Mike Clark

2 Answers

2
votes
  1. Open a command window.
  2. Run vsvars32.bat. "C:\Program Files\Microsoft\Visual Studio 11.0\Common7\Tools\vsvars32.bat".
  3. Copy win32.mak from C:\Program Files\Microsoft SDKs\Windows\v7.1\Include to the sample directory.
  4. Navigate to the sample directory and run nmake.
-2
votes

Use the Visual Studio Command Prompt. This loads the required variables.