Click here to Skip to main content
15,921,694 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: C++ question Pin
valikac27-Jul-06 9:01
valikac27-Jul-06 9:01 
GeneralRe: C++ question Pin
Alex_Y27-Jul-06 9:07
Alex_Y27-Jul-06 9:07 
GeneralRe: C++ question Pin
valikac27-Jul-06 9:20
valikac27-Jul-06 9:20 
GeneralRe: C++ question Pin
Alex_Y27-Jul-06 9:26
Alex_Y27-Jul-06 9:26 
GeneralRe: C++ question Pin
Alex_Y27-Jul-06 9:41
Alex_Y27-Jul-06 9:41 
AnswerRe: C++ question Pin
toxcct27-Jul-06 21:26
toxcct27-Jul-06 21:26 
GeneralRe: C++ question Pin
Alex_Y28-Jul-06 1:57
Alex_Y28-Jul-06 1:57 
GeneralRe: C++ question Pin
Zac Howland28-Jul-06 8:58
Zac Howland28-Jul-06 8:58 
Questionfunction header = 0 Pin
Jay0327-Jul-06 8:38
Jay0327-Jul-06 8:38 
AnswerRe: function header = 0 Pin
valikac27-Jul-06 9:03
valikac27-Jul-06 9:03 
GeneralRe: function header = 0 Pin
Jay0327-Jul-06 9:04
Jay0327-Jul-06 9:04 
GeneralRe: function header = 0 Pin
Alex_Y27-Jul-06 9:15
Alex_Y27-Jul-06 9:15 
AnswerRe: function header = 0 Pin
markkuk27-Jul-06 11:42
markkuk27-Jul-06 11:42 
QuestionHow to Load Bitmap in CImageList from outside????? [modified] Pin
MacGadger27-Jul-06 8:00
MacGadger27-Jul-06 8:00 
QuestionRe: How to Load Bitmap in CImageList from outside????? Pin
Hamid_RT27-Jul-06 22:44
Hamid_RT27-Jul-06 22:44 
QuestionMAKEWORD macro Pin
kitty527-Jul-06 7:51
kitty527-Jul-06 7:51 
AnswerRe: MAKEWORD macro Pin
toxcct27-Jul-06 7:58
toxcct27-Jul-06 7:58 
AnswerRe: MAKEWORD macro Pin
kitty527-Jul-06 8:11
kitty527-Jul-06 8:11 
QuestionMS Access and CFileDialog conflict. Pin
na.nu27-Jul-06 7:50
na.nu27-Jul-06 7:50 
QuestionRe: MS Access and CFileDialog conflict. Pin
David Crow27-Jul-06 8:15
David Crow27-Jul-06 8:15 
AnswerRe: MS Access and CFileDialog conflict. Pin
Steve S27-Jul-06 21:51
Steve S27-Jul-06 21:51 
QuestionRe: MS Access and CFileDialog conflict. Pin
na.nu3-Aug-06 6:30
na.nu3-Aug-06 6:30 
AnswerRe: MS Access and CFileDialog conflict. Pin
Steve S9-Aug-06 1:52
Steve S9-Aug-06 1:52 
na.nu wrote:
What happens is that the application loses the DB connection. So after exporting when I click on the tree I have an error that displays DB connection lost.


This is not the result of a conflict between CFileDialog and the ATLDBCLI/OLEDB stuff.

How do you determine that the app has lost the db connection? Presumably you get errors when you try and access the db (eg clicking on tree)?
There's an AtlTraceError (or something) debugging function you can use which should give you more information on what's going wrong, but my normal rules for diagnosis would seem to apply.

Rule#1: Suspect your own code
Rule#2: Refer to rule#1.

It could be that when you use the CFileDialog, you're not initializing something correctly (like one of the pointers in the OFN structure), and it's trampling on some memory. This is notoriously difficult to diagnose; I generally dump the likely affected parts before and after calling the 'suspect' line.

Steve S
Developer for hire

QuestionOpinions wanted Pin
Wes Aday27-Jul-06 4:40
professionalWes Aday27-Jul-06 4:40 
AnswerRe: Opinions wanted Pin
David Crow27-Jul-06 4:46
David Crow27-Jul-06 4:46 

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.