QueryInterface failed when open a MSQuery
Posted: Thu 10 Jan 2013 12:10
In a DLL we create a MSQery and use it. Then we call other procedures with this query. Inside this procedures we use the query again and call other procedurs with this query as parameter.
In some procedures it works and in some procedures we get an OLEDB Exception: QueryInterface failed.
If I create a new MSQuery and set the connection to the one of the query passed as parameter and perform the same sql script it works.
Can anybody help me with that problem ?
In some procedures it works and in some procedures we get an OLEDB Exception: QueryInterface failed.
If I create a new MSQuery and set the connection to the one of the query passed as parameter and perform the same sql script it works.
Can anybody help me with that problem ?