Setting up the environment for running samples of signWare:
- copy all Include files given in c-api folder of signware to C:\windows\system32 folder.
- Set the environment variable. Set the PATH to
;C:\ProgramFiles\Microsoft Visual Studio 9.0\VC\bin;C:\Program Files\Microsoft Visual Studio 9.0\VC\include;
- edit License file given with Signware application to set correct path to the license. And double click it for registering.
The signware Module needs a better understanding of WIN API's call.
So, I started learning basics of WIN API's Calls or in general Windows system programming.
You can use or have a look on my vsvars32.bat file.I found many tutorials but I found some Good WIN API's tutorial for beginners which I want to share.
Link2: http://www.dreamincode.net/forums/topic/207581-intro-to-the-windows-api/
Link3: http://www.functionx.com/win32/Lesson01b.htm (Good for understanding Details of various options given)
Problems I faced for compilation of the modules:
nmake15 : It is an self extraction zip file. But there is a bug. When you double click on this file to extract it, you'll get some ACCESS DENIED or privilege problem.
Don't Worry. Use your regular unzip files like winzip, unrar etc. This will work.
windows.h problem: If you find error.
Link3: http://www.functionx.com/win32/Lesson01b.htm (Good for understanding Details of various options given)
Problems I faced for compilation of the modules:
nmake15 : It is an self extraction zip file. But there is a bug. When you double click on this file to extract it, you'll get some ACCESS DENIED or privilege problem.
Don't Worry. Use your regular unzip files like winzip, unrar etc. This will work.
windows.h problem: If you find error.
" fatal error C1083: Cannot open include file: 'Windows.h'. "
Then you need to set the path. Here is the link from where I found the solution.
In short, you need to edit the batch file given in visual studio which is responsible for setting up the environment. The batch location is given below (That is for me. find yours).
You can also edit this batch file to INCLUDE your own custom include/bin files into the PATH option provided into it.
In short, you need to edit the batch file given in visual studio which is responsible for setting up the environment. The batch location is given below (That is for me. find yours).
c:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools\vsvars32.bat
You can also edit this batch file to INCLUDE your own custom include/bin files into the PATH option provided into it.
Then create a shortcut of cmd.exe. Then copy & paste the full command given below (keeping in mind about the correct PATH):
%windir%\system32\cmd.exe /K "C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools\vsvars32.bat"
Double click on the new CMD shortcut and you are ready for compiling the Windows module from the command line.