Summary
If your Toolkit program shares a connection object across processes, you may receive the following error message when the second process attempts to retrieve repository information:
Access violation - no RTTI data!
You can also receive this error if you are sharing a connection object across threads in a .NET program.
Resolution
Different processes and threads require their own serialized connection. Clone a connection by retrieving the serialized connection information from the existing connection and then create a new connection object using the serialized connection information. Please see the following Visual Basic sample on cloning a connection.
Dim contransfer As New LFConnection
Dim SerializedCon = db.CurrentConnection.SerializedConnection
contransfer.CloneFromSerializedConnection(SerializedCon)
db = contransfer.Database