Click here to Skip to main content
15,912,977 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Need Help with ListCtrl with LOTS of Rows Pin
Jörgen Sigvardsson8-Mar-07 10:51
Jörgen Sigvardsson8-Mar-07 10:51 
QuestionATL server session state keeping between two different web services? Pin
falsevapor8-Mar-07 4:00
falsevapor8-Mar-07 4:00 
Questionglobal dynamic array. Pin
priyank_ldce8-Mar-07 3:41
priyank_ldce8-Mar-07 3:41 
AnswerRe: global dynamic array. Pin
Like2Byte8-Mar-07 3:47
Like2Byte8-Mar-07 3:47 
AnswerRe: global dynamic array. Pin
Cedric Moonen8-Mar-07 3:52
Cedric Moonen8-Mar-07 3:52 
QuestionRe: global dynamic array. Pin
prasad_som8-Mar-07 3:57
prasad_som8-Mar-07 3:57 
QuestionRe: global dynamic array. Pin
vibindia8-Mar-07 5:10
vibindia8-Mar-07 5:10 
QuestionDatabase exception try/catch block Pin
Like2Byte8-Mar-07 3:31
Like2Byte8-Mar-07 3:31 
Hi, I'm fixing someone's code and I came across this:

<br />
BOOL CDatapointSet::Open(UINT nOpenType, LPCTSTR lpszSql, DWORD dwOptions) <br />
{<br />
	// TODO: Add your specialized code here and/or call the base class<br />
	BOOL rtn;<br />
	TRY<br />
	{<br />
		rtn = CRecordset::Open(nOpenType, lpszSql, dwOptions);<br />
	}<br />
	CATCH(CException, e)<br />
	{<br />
		m_DB2 = true;<br />
		m_nFields = 30;<br />
		rtn = CRecordset::Open(nOpenType, lpszSql, dwOptions);<br />
	}<br />
	END_CATCH<br />
	return rtn;<br />
}<br />


Now, I'm thinking it's a candidate for theDailyWTF; but, I'm not all that familiar with writing database apps as I'm more of an embedded kind of guy.

Is this normal?
AnswerRe: Database exception try/catch block Pin
David Crow8-Mar-07 4:20
David Crow8-Mar-07 4:20 
GeneralRe: Database exception try/catch block Pin
Like2Byte8-Mar-07 4:26
Like2Byte8-Mar-07 4:26 
AnswerRe: Database exception try/catch block Pin
Mark Salsbery8-Mar-07 6:19
Mark Salsbery8-Mar-07 6:19 
Questionusing MFC in C# Pin
kkadir8-Mar-07 3:07
kkadir8-Mar-07 3:07 
AnswerRe: using MFC in C# Pin
prasad_som8-Mar-07 3:52
prasad_som8-Mar-07 3:52 
GeneralRe: using MFC in C# Pin
led mike8-Mar-07 6:44
led mike8-Mar-07 6:44 
AnswerRe: using MFC in C# Pin
Hamid_RT8-Mar-07 6:43
Hamid_RT8-Mar-07 6:43 
GeneralRe: using MFC in C# Pin
kkadir8-Mar-07 7:09
kkadir8-Mar-07 7:09 
QuestionExport String in .txt file Pin
Shah Satish8-Mar-07 2:22
Shah Satish8-Mar-07 2:22 
AnswerRe: Export String in .txt file Pin
toxcct8-Mar-07 2:26
toxcct8-Mar-07 2:26 
AnswerRe: Export String in .txt file Pin
prasad_som8-Mar-07 2:54
prasad_som8-Mar-07 2:54 
Questiongetting Linking Error while compling Simple Device Manager Pin
VC_RYK8-Mar-07 2:19
VC_RYK8-Mar-07 2:19 
AnswerRe: getting Linking Error while compling Simple Device Manager Pin
prasad_som8-Mar-07 4:19
prasad_som8-Mar-07 4:19 
AnswerRe: getting Linking Error while compling Simple Device Manager Pin
Mark Salsbery8-Mar-07 6:25
Mark Salsbery8-Mar-07 6:25 
GeneralRe: getting Linking Error while compling Simple Device Manager Pin
VC_RYK9-Mar-07 0:47
VC_RYK9-Mar-07 0:47 
Questioncopy structures to buffer Pin
Zapacila8-Mar-07 2:03
Zapacila8-Mar-07 2:03 
AnswerRe: copy structures to buffer Pin
krmed8-Mar-07 2:48
krmed8-Mar-07 2: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.