Open a command prompt with the following link:
"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\Shortcuts\VS2013 x64 Native Tools Command Prompt.lnk"
Change to the WinCC OA api directory:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\amd64>cd C:\Siemens\Automation\WinCC_OA\3.13\api
API_ROOT must be set to the WinCC OA api directory:
C:\Siemens\Automation\WinCC_OA\3.13\api>set API_ROOT
API_ROOT=C:\Siemens\Automation\WinCC_OA\3.13\api
C:\Siemens\Automation\WinCC_OA\3.13\api>checkAPIenv.cmd
found API_ROOT - good
found VC12 compiler - good
setting env for 64bit development
done
Create an empty control extension source:
C:\Siemens\Automation\WinCC_OA\3.13\api>newWCCILCtrlExt.cmd BatchTool
found API_ROOT - good
found VC12 compiler - good
setting env for 64bit development
done
1 Datei(en) kopiert.
1 Datei(en) kopiert.
Datenträger in Laufwerk C: ist Windows
Volumeseriennummer: E4CF-44C2
Verzeichnis von C:\Siemens\Automation\WinCC_OA\3.13\api\CtrlBatchTool
22.01.2015 09:02 <DIR> .
22.01.2015 09:02 <DIR> ..
11.09.2013 09:33 961 addVerInfo.cxx
22.01.2015 09:02 782 BatchToolCtrlExt.sln
22.01.2015 09:02 4.935 BatchToolCtrlExt.vcxproj
22.01.2015 09:02 2.026 BatchToolExternHdl.cxx
22.01.2015 09:02 388 BatchToolExternHdl.hxx
11.10.2012 14:12 602 README
6 Datei(en), 9.694 Bytes
2 Verzeichnis(se), 34.355.884.032 Bytes frei
found API_ROOT - good
found VC12 compiler - good
setting env for 64bit development
done
Start Visual Studio with the following command:
C:\Siemens\Automation\WinCC_OA\3.13\api>cd CtrlBatchTool
C:\Siemens\Automation\WinCC_OA\3.13\api\CtrlBatchTool>devenv BatchToolCtrlExt.sln