Click here to Skip to main content
15,909,939 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Comparing a character string to LPWSTR Pin
Le centriste18-Sep-02 6:21
Le centriste18-Sep-02 6:21 
QuestionIn VB 6.0 How do I check to see if an Executable is running? Pin
BHBAD200218-Sep-02 5:03
sussBHBAD200218-Sep-02 5:03 
AnswerRe: In VB 6.0 How do I check to see if an Executable is running? Pin
Paul M Watt18-Sep-02 5:22
mentorPaul M Watt18-Sep-02 5:22 
Questionhow could I find my articles wrote in this fourm ? Pin
Angel Kid18-Sep-02 4:35
Angel Kid18-Sep-02 4:35 
AnswerRe: how could I find my articles wrote in this fourm ? Pin
benjymous18-Sep-02 4:50
benjymous18-Sep-02 4:50 
AnswerRe: how could I find my articles wrote in this fourm ? Pin
jmkhael18-Sep-02 4:50
jmkhael18-Sep-02 4:50 
AnswerI mean that I wanna find all articles I wrote in this fourm Pin
Angel Kid19-Sep-02 3:46
Angel Kid19-Sep-02 3:46 
Questionwhere to delete or destroy object? Pin
ns18-Sep-02 4:16
ns18-Sep-02 4:16 
My custom database class has this destructor:

	~DbClass()
	{
		Close();
		m_pConn.Release();
		m_pConn = NULL;
		m_strConnection = _T("");



<code>		if(m_pConnPhoto )
		{
			if(m_pConnPhoto->GetState() != ADO::adStateClosed)

			m_pConnPhoto->Close();

		}

		m_pConnPhoto.Release();
		m_pConnPhoto = NULL;
		m_strConnection1 = _T("");</code>
	
		::CoUninitialize();
	}


I added the stuff in red to a preexisting sample, so I'm not sure if it looks okay.

Anyways I made a MyDBClass m_db variable in the doc of my mfc mdi app. So far I havent deleted (??)it anywhere. Not even sure if I need to destroy or delete it, or take care of it somehow...

What do you think?

Thanks,
nsConfused | :confused:
AnswerRe: where to delete or destroy object? Pin
Bilal18-Sep-02 4:43
Bilal18-Sep-02 4:43 
QuestionWhich lib is corresponding to Dskquota.h? Pin
Anonymous18-Sep-02 4:12
Anonymous18-Sep-02 4:12 
AnswerRe: Which lib is corresponding to Dskquota.h? Pin
Lakitu18-Sep-02 4:19
Lakitu18-Sep-02 4:19 
GeneralRe: Which lib is corresponding to Dskquota.h? Pin
Anonymous18-Sep-02 4:46
Anonymous18-Sep-02 4:46 
GeneralRe: Which lib is corresponding to Dskquota.h? Pin
Le centriste18-Sep-02 6:22
Le centriste18-Sep-02 6:22 
GeneralRe: Which lib is corresponding to Dskquota.h? Pin
Anonymous18-Sep-02 8:04
Anonymous18-Sep-02 8:04 
GeneralMaking Right align Rich Edit box ! Pin
Hadi Rezaee18-Sep-02 4:07
Hadi Rezaee18-Sep-02 4:07 
GeneralProblem with SQL FETCH Pin
Cheickna18-Sep-02 4:04
Cheickna18-Sep-02 4:04 
GeneralRe: Problem with SQL FETCH Pin
TyMatthews18-Sep-02 5:10
TyMatthews18-Sep-02 5:10 
GeneralPassing a file through a Socket Pin
RobJones18-Sep-02 3:44
RobJones18-Sep-02 3:44 
GeneralRe: Passing a file through a Socket Pin
TyMatthews18-Sep-02 5:57
TyMatthews18-Sep-02 5:57 
GeneralRe: Passing a file through a Socket Pin
Bilal18-Sep-02 6:32
Bilal18-Sep-02 6:32 
GeneralRe: Passing a file through a Socket Pin
RobJones18-Sep-02 6:57
RobJones18-Sep-02 6:57 
GeneralRe: Passing a file through a Socket Pin
RobJones18-Sep-02 11:06
RobJones18-Sep-02 11:06 
GeneralRe: Passing a file through a Socket Pin
Bilal18-Sep-02 20:42
Bilal18-Sep-02 20:42 
GeneralUTF-8 to Unicode or ANSI. Pin
Halls18-Sep-02 3:25
Halls18-Sep-02 3:25 
GeneralRe: UTF-8 to Unicode or ANSI. Pin
Stephane Rodriguez.18-Sep-02 3:37
Stephane Rodriguez.18-Sep-02 3:37 

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.