Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
U

User 2625

@User 2625
About
Posts
1
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • CDatabase::OpenEx() fails in ATL/COM dll
    U User 2625

    I've written a dll using ATL. It uses CDatabase to read values from a database. Everything works fine in a standard MFC app, but when I moved the code into a ATL/COM project it fails with the following error: "Only SQL_DRIVER_NOPROMPT is allowed when connection pooling is enabled" I access my database with the following, which according to MS Knowledge Base should solve the problem, but it doesn't: ... if(db->OpenEx(m_strConnection, CDatabase::noOdbcDialog)) ... Anyone had this problem?

    C / C++ / MFC database c++ help com question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups