Something like this......
pJetEngine pJet;
pJet->RefreshCache(Connection);
#import <msjro.dll>
JRO::IJetEnginePtr jet( __uuidof(JRO::JetEngine) );
jet->RefreshCache( m_Conn );
where m_Conn is the ADO connection you want to refresh. Check the "Jet and
Replication Objects" section of the Platform SDK.
I found this fixed my multiuser problems, if I refreshed the cache after I
retrieved the connection from the pool (Opened the connection) and performed
the same before I closed the connection.
Sometimes I feel like us VC++ guys our out
here alone when it comes to ADO. I looked
High and low for how to do this in VC++,
but all of the documentation is for VB. I'm
curious how you found how to use JRO.
"Bob Nakarada" <bobn@No_Spam.metrics.com> wrote in message
news:O96sKG9o$GA.307@cppssbbsa04...
"Marc Oliver" <oli...@qsicorp.com> wrote in message
news:#Fdy8yWp$GA....@cppssbbsa02.microsoft.com...