Did you see this post, posted recently?
IP Driver and with IN-Memory Driver Caching - ClarionHub
Be warned that the in-memory driver, despite what the documentation says, is not THREAD safe.
Can you get the code working without the In memory driver first?