Prev: A Question, Hiding Child frame in MDI App.
Next: Position a modeless dialog over a modal dialog?
From: dotBomb on 1 Feb 2010 09:51 Hi, I am calling SqlConnect as suggested by this article: http://msdn.microsoft.com/en-us/library/ms711810(VS.85).aspx On a 64-bit Vista Ultimate Sony Vaio laptop, I have noticed that SqlConnect always looks for the DSN in the 64-bit collection of ODBC connections. How can I get access, via MFC functions, to the 32-bit collection of ODBC connections? Thank you, Daniel Kemper, MCP, MCTS
From: Goran on 2 Feb 2010 04:50 On Feb 1, 3:51 pm, dotBomb <dotB...(a)discussions.microsoft.com> wrote: > Hi, > > I am calling SqlConnect as suggested by this article:http://msdn.microsoft.com/en-us/library/ms711810(VS.85).aspx > > On a 64-bit Vista Ultimate Sony Vaio laptop, I have noticed that SqlConnect > always looks for the DSN in the 64-bit collection of ODBC connections. How > can I get access, via MFC functions, to the 32-bit collection of ODBC > connections? What, your 32-bit code looks amongst 64-bit connections? That's strange, I'd count that as a system bug, and that's not how I saw things work when I use 32-bit code (tried on Vista 64 bit enterprise). If you want your 64-bit code to use 32--bit ODBC, I don't think you should be able to do that. That AFAIK would mean loading 32-bit drivers (DLLs, mind) into a 64-bit process. Goran.
|
Pages: 1 Prev: A Question, Hiding Child frame in MDI App. Next: Position a modeless dialog over a modal dialog? |