dca_interface
6.3.4
|
You need set up the 3rd party libraries before you can build the samples.
See also Chapter: Requirements for using the SCA on Windows.
Open a Visual Studio Command prompt (Start menu -> Visual Studio 2008 -> Visual Studio Tools -> Visual Studio Command Prompt)
Change directory to the SCA samples folder e.g.:
Edit the file setup_dca_env_vars.cmd
Change the lines:
to correctly point to your dca-installation-folder and the 3rd_party libraries' build directory (see 3rd Party Libraries - How to build and setup (Windows)).
Also change the line
to correctly point to the CA bundle file needed by cUrl (see also Initialization of 3rd party libraries).
Save your changes to the file.
After preparation you can build the samples by using the provided cmd files e.g:
run_samples.cmd will first call the setup_dca_env_vars.cmd script and then it will open up Visual Studio 2008 with the generic_samples.sln solution file.
Build your solution/project as usual.
All samples support the following command line parameters:
dca-install-dir
ticket
product
[sample-specific]
Refer to the specific sample description for further details.
To start e.g. the already built getversionsample.exe supply the parameters (either in the internal Visual Studio Debugger or at the command prompt):
The sample writes the log file:
The dca_info.log shows details on what's happening inside of the SCA.
Note: