• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 183
  • Last Modified:

creating an database using mfcs

i am trying to connect  oracle with  vc++ a dialog    base application each time i connect to database it ask me for a password but not once but all the times as i am creating it using multiple dialogs so it is rediculous that odbc ask me for password when i connect so what shoud be done so it ask for only once dont worry bout points ask for it ?
     thanx
0
enigma_ilu
Asked:
enigma_ilu
1 Solution
 
AmitAgarwalCommented:
i believe you need to device some mechanism to do this. may be you can have some connection object as a global variables and when you c the connection is open use the same connection instead of creating new one
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now