Click here to Skip to main content
15,037,420 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Image processing in C Pin
leon de boer19-Sep-16 7:07
Memberleon de boer19-Sep-16 7:07 
GeneralRe: Image processing in C Pin
enhzflep19-Sep-16 20:48
Memberenhzflep19-Sep-16 20:48 
GeneralRe: Image processing in C Pin
leon de boer19-Sep-16 23:54
Memberleon de boer19-Sep-16 23:54 
AnswerRe: Image processing in C Pin
CPallini18-Sep-16 21:34
mveCPallini18-Sep-16 21:34 
GeneralRe: Image processing in C Pin
leon de boer19-Sep-16 7:09
Memberleon de boer19-Sep-16 7:09 
GeneralRe: Image processing in C Pin
CPallini19-Sep-16 9:14
mveCPallini19-Sep-16 9:14 
AnswerRe: Image processing in C Pin
leon de boer19-Sep-16 7:17
Memberleon de boer19-Sep-16 7:17 
QuestionCarlos Antollini ADO classes Pin
Member 1111024014-Sep-16 7:03
MemberMember 1111024014-Sep-16 7:03 
We are using the Carlos Antollini ado classes in our C/C++ program and when I try to close the database it hangs. The function never returns. I cannot figure out why. Anyone have any ideas?
m_pProjectDatabase declared as:
CADODatabase* m_pProjectDatabase;


if (m_pProjectDatabase != nullptr)
{
    m_pProjectDatabase->Close();
}


This calls the ado2 function:

void CADODatabase::Close()
{
	try
	{
		if(IsOpen())
		{
			if(m_doxCatalog.m_pCatalog != NULL)
			{
				_ConnectionPtr pConn = m_doxCatalog.m_pCatalog->GetActiveConnection();
				pConn->Close();
			}
		}
	}
	catch(CString ex)
	{
		throw;
	}
	catch(_com_error &e)
	{

		dump_com_error(e);
		//throw (CString)"Error in CADODatabase::Close:" + (LPCSTR)e.Description();
	}
	catch(...)
	{
		throw (CString)"Unexplained Error in CADODatabase::Close";
	}
}


and from there, nothing. Off into cyberspace never to be seen again.
AnswerRe: Carlos Antollini ADO classes Pin
Victor Nijegorodov14-Sep-16 7:26
MemberVictor Nijegorodov14-Sep-16 7:26 
Questionvc630 vending machines Pin
Member 1273272111-Sep-16 8:04
MemberMember 1273272111-Sep-16 8:04 
AnswerRe: vc630 vending machines Pin
NotPolitcallyCorrect11-Sep-16 8:08
MemberNotPolitcallyCorrect11-Sep-16 8:08 
AnswerRe: vc630 vending machines Pin
Chris Losinger12-Sep-16 4:19
professionalChris Losinger12-Sep-16 4:19 
JokeRe: vc630 vending machines Pin
enhzflep12-Sep-16 14:22
Memberenhzflep12-Sep-16 14:22 
AnswerRe: vc630 vending machines Pin
Patrice T14-Sep-16 8:21
mvePatrice T14-Sep-16 8:21 
QuestionHow to fix the invalide pointer problem Pin
yu-jian8-Sep-16 17:43
Memberyu-jian8-Sep-16 17:43 
AnswerRe: How to fix the invalide pointer problem Pin
leon de boer8-Sep-16 19:03
Memberleon de boer8-Sep-16 19:03 
AnswerRe: How to fix the invalide pointer problem Pin
CDP18028-Sep-16 19:08
MemberCDP18028-Sep-16 19:08 
AnswerRe: How to fix the invalide pointer problem Pin
Saravanan Sundaresan24-Sep-16 19:55
professionalSaravanan Sundaresan24-Sep-16 19:55 
QuestionHow do you read / use this code? Pin
Vaclav_8-Sep-16 7:40
MemberVaclav_8-Sep-16 7:40 
AnswerRe: How do you read / use this code? Pin
NotPolitcallyCorrect8-Sep-16 7:58
MemberNotPolitcallyCorrect8-Sep-16 7:58 
GeneralRe: How do you read / use this code? Pin
Vaclav_8-Sep-16 10:16
MemberVaclav_8-Sep-16 10:16 
AnswerRe: How do you read / use this code? Pin
Bram van Kampen8-Sep-16 14:40
MemberBram van Kampen8-Sep-16 14:40 
AnswerRe: How do you read / use this code? Pin
leon de boer8-Sep-16 17:26
Memberleon de boer8-Sep-16 17:26 
GeneralSOLVED Re: How do you read / use this code? Pin
Vaclav_9-Sep-16 18:23
MemberVaclav_9-Sep-16 18:23 
QuestionReference CalculateRamp - How to derive entry arguments from the existing Gamma Ramp - My best solution Pin
Keith Davis3-Sep-16 6:28
MemberKeith Davis3-Sep-16 6:28 

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.