I was asked by a partner how he could adjust his table structure. He needed to check if a char field is available and adjust its size to a minimum of 40 characters. So I came up with this script: Weiterlesen
Kategorie: Blog (Seite 2 von 2)
The Advantage client Engine 10.1 introduced new API calls. One of them, AdsConnect101, can connect to a database using a connection string rather than setting the connection options one by one.
UNSIGNED32 AdsConnect101( UNSIGNED8 *pucConnectString, ADSHANDLE *phConnectOptions, ADSHANDLE *phConnect);
TAdsConnection is able to hook into such a connection, either by setting the ConnectionHandle (TAdsConnection.SetHandle) or by creating a new component based on that ConnectionHandle (TAdsConnection.CreateWithHandle, TAdsConnection.CreateFromHandle). Weiterlesen