Example: Creating a dual-mode LLA application with ODBC and SSC API function calls
If your application is a dual-mode application that uses SSC API and ODBC function calls, you need two different executable programs, one to be run locally and one to be run remotely.
Procedure
1 Create the application version that runs in local mode.
a Link the application to the LLA library (for example, solidimpac.lib for Windows).
The LLA library provides support for both the ODBC functions and the SSC API functions.
b Modify the connection string to use local connection.
2 Create the application version that runs in remote mode.
a Link the application to both the solidDB ODBC driver and to the SSC API stub library (for example, solidctrlstub.lib for Windows).
The stub library does not actually give your remote application any control over the server. It simply allows you to compile and link your program without getting errors about "unresolved symbols".
b Modify the connection string to use remote connection.