Hello
I tried to build a ScripterLibrary of the TkbmMemtable (http://www.components4programmers.com/products/kbmmemtable/) via the Import-Tool.
But the ImportTool generates a lot of non working routines for the XE2. Lot of missing VarToObject/ObjectToVar or other wrong or missing Type-Converting, nevermind the the RTTI Switch. I never had Problems with the Importtool by other 3rd Party Components, but the TkbmMemtable give me lot of headaches. ..so my Question: Has any one built working ScripterLibraries for the TkbmMemtable? ..or maybe can give me a helping hand?
best regards
Markus
This VarToObject/ObjectToVar issue is often caused when the import tool can't find the declaration of the type. For example, if there a property of type TMyType, the import tool must find the declaration of such TMyType, either in the already existing SPU files (from the imported VCL for example) or by finding any unit in the search path that declares such type. If the type is not found, then such error can occur. You can check what types are missing VarToObject, check where those types are declared and make sure the import tool can find and import such units.
THX for answer, I switched to the Devexpress MemData . It was much easier to implement and it also fullfill the needs for a small memory table using in the scripter.