XmimGetRecords API Notification   

Austin Operations Facility - December 2006 - Change Management - Maintenace Operation Procedure -

LIM is addressing recent issues concerning MIM server data retrieval methods using XmimGetRecords APIs. The XmimGetRecords method is designed to return a pointer to a memory block. As documented, handling of doubles and integers requires proper pointer handling by the calling program. The Visual Basic API is designed to return Single values as documented. For Visual Basic the query APIs are always recommended.

In this context, those clients using the Visual Basic API who query data stored as Double values in the MIM will need to use an alternative API to XmimGetRecords. If you use XmimGetRecords in other APIs and your handling of doubles and integers is not using proper pointer handling then you will also experience problems with doubles.
Short-Term Solution

The recommended short term solution is to use a query method (e.g., "SHOW/WHEN") for data retrieval as an alternative to XmimGetRecords APIs.

Long-Term Solution

LIM will release a new API, "XmimGetRecordsDouble" that will eliminate the API issue in its entirety. Part of this release will include a required server and API library upgrade, which is scheduled for the first quarter of 2007.


 
 

 


www.lim.com