coInitialize not called

Home Forums kbmMW coInitialize not called

Viewing 1 reply thread
  • Author
    Posts
    • #56774
      bjornofdenmark
      Participant

      Hi,

      Trying to get started with kbmMW, and starting with “Using kbmMW as a query server”-document. I know it is an old document, but guess it should get me started understanding kbmMW.

      However, I get a “CoInitialized has not been called”-error when I try to connect the client. I am not sure where the best place to call this is (and the CoUnInitialize-call).

      The database-connection is a dbExpress with Devart-driver.

      Thanks in advance.

      Bjørn

       

    • #56781
      kimbomadsen
      Keymaster

      Hi,

      Check this link for some background info:
      https://forums.devart.com/viewtopic.php?t=35949

      You can set OLEDBCompatible property to true on the TkbmMWDBXConnectionPool instance.

      /Kim

      • #56788
        bjornofdenmark
        Participant

        Hi,

        Got a bit of reading ahead to understand it fully, but it does solve the problem.

        Thank You.

        Bjørn

Viewing 1 reply thread
  • You must be logged in to reply to this topic.