Skip to main content
Version: 10.1

RDBMS and data connectivity

📄️ USoft Remote Rules Service API for ODBC

The USoft Remote Rules Service API offers a unique repository-based interface to external programs and desktop tools that support the Microsoft standard ODBC programming language interface, such as MS Excel, MS Word, MS Access and Lotus Approach. It is the first such driver that guarantees execution of all the business, integrity, and security rules at all times. Those rules are stored and managed within the USoft Developer repository. USoft Developer manages the data manipulation in RDBMSs such as SQL Server or Oracle.

📄️ Dynamic Link Libraries (DLLs)

You can write your own DLLs, and connect them to your application using the DllExecute() global action. The USoft API offers two functions to let your DLL communicate with USD through the resource mechanism. To use these you must include USAPI.H in your source file (in the API directory) and link the USAPI.LIB import library. USoft API can be used for all Windows Development Languages that can generate DLLs with PASCAL calling convention. For more information, and for some examples see the ACDLL.C file in the EXAMPLES\\API directory.

📄️ Dynamic Data Exchange (DDE)

In a Windows environment, applications can communicate using Dynamic Data Exchange. The application that starts the conversation is called the client. The application which responds is called the server. In DDE, the client determines the topic of the conversation and the items that are exchanged, either by sending them to the server or by requesting them from it. The client may also initiate an advise loop in which it asks to be notified each time a particular item changes. USoft Developer is a DDE server and may act as a DDE client.

📄️ MTS Example 2: component sample code

The sample code below shows what an MTS component usually looks like. To make a connection, ADO is used, but you can also use the OLE-DB or the ODBC API. You should use these APIs as for a normal connection to a database. The 'Commit' or 'Rollback' call must be replaced by the SetComplete or SetAbort call of the context object. The code of the Bank Sample application components is also provided with the Sample Bank application. You can use this to obtain more details.