Click here to Skip to main content
15,914,413 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: drag drop, list view Pin
l a u r e n23-Jul-02 12:27
l a u r e n23-Jul-02 12:27 
GeneralRe: drag drop, list view Pin
Shog923-Jul-02 17:58
sitebuilderShog923-Jul-02 17:58 
GeneralRe: drag drop, list view Pin
Bhikshapathi Gorantla23-Jul-02 19:07
Bhikshapathi Gorantla23-Jul-02 19:07 
GeneralRe: drag drop, list view Pin
Shog924-Jul-02 6:03
sitebuilderShog924-Jul-02 6:03 
GeneralRe: drag drop, list view Pin
Chris Losinger23-Jul-02 19:18
professionalChris Losinger23-Jul-02 19:18 
GeneralRe: drag drop, list view Pin
Shog924-Jul-02 5:51
sitebuilderShog924-Jul-02 5:51 
GeneralRe: drag drop, list view Pin
Shog922-Sep-04 7:53
sitebuilderShog922-Sep-04 7:53 
QuestionCDatabase.OpenEx -> obstinate DSN? Pin
Leonard23-Jul-02 9:06
Leonard23-Jul-02 9:06 
Hello there.

I have an MFC application running on Windows2K that opens a CDatabase object like so:


CDatabase cDB;
DWORD dwOptions = CDatabase::useCursorLib | CDatabase::noOdbcDialog;
cDB.OpenEx ("DSN";"****";"****", dwOptions);


For some reason though, if I alter the configuration for DSN (using the ODBC admin tool in Control Panel) such that it points to a different server, the application still tries to connect to the first server.

This is odd as, when examining the DSN directly (using the admin tool) it points to the new server alright - it's only when my application uses the above function call that the DSN seems to point to the original server. (And I am restarting the application)

Has anyone ever come across anything like this before??


Hmmmmmm....

Len.
Generallistview control question... Pin
l a u r e n23-Jul-02 8:36
l a u r e n23-Jul-02 8:36 
GeneralRe: listview control question... Pin
Jeremy Falcon23-Jul-02 8:57
professionalJeremy Falcon23-Jul-02 8:57 
GeneralRe: listview control question... Pin
l a u r e n23-Jul-02 11:25
l a u r e n23-Jul-02 11:25 
GeneralRe: listview control question... Pin
Shog923-Jul-02 9:05
sitebuilderShog923-Jul-02 9:05 
GeneralRe: listview control question... Pin
l a u r e n23-Jul-02 11:26
l a u r e n23-Jul-02 11:26 
GeneralPassing data from any app to Visual C++ COM objects Pin
Emilio Guijarro23-Jul-02 8:35
Emilio Guijarro23-Jul-02 8:35 
GeneralRe: Passing data from any app to Visual C++ COM objects Pin
l a u r e n23-Jul-02 8:41
l a u r e n23-Jul-02 8:41 
GeneralRe: Passing data from any app to Visual C++ COM objects Pin
Mel Stober23-Jul-02 12:41
Mel Stober23-Jul-02 12:41 
GeneralCustomizing afxMessageBox Icons Pin
JLSogorb23-Jul-02 7:55
sussJLSogorb23-Jul-02 7:55 
GeneralRe: Customizing afxMessageBox Icons Pin
Joaquín M López Muñoz23-Jul-02 12:10
Joaquín M López Muñoz23-Jul-02 12:10 
Generalsyntax error : 'catch' Pin
moredip23-Jul-02 6:46
moredip23-Jul-02 6:46 
GeneralRe: syntax error : 'catch' Pin
Scott H. Settlemier23-Jul-02 7:03
Scott H. Settlemier23-Jul-02 7:03 
GeneralRe: syntax error : 'catch' Pin
moredip23-Jul-02 7:10
moredip23-Jul-02 7:10 
GeneralRe: syntax error : 'catch' Pin
Joaquín M López Muñoz23-Jul-02 7:17
Joaquín M López Muñoz23-Jul-02 7:17 
GeneralRe: syntax error : 'catch' Pin
moredip23-Jul-02 7:27
moredip23-Jul-02 7:27 
GeneralRe: syntax error : 'catch' Pin
Joaquín M López Muñoz23-Jul-02 7:37
Joaquín M López Muñoz23-Jul-02 7:37 
GeneralRe: syntax error : 'catch' Pin
moredip23-Jul-02 7:48
moredip23-Jul-02 7:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.