Click here to Skip to main content
16,004,782 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: making windows service with wxwidget Pin
ThatsAlok16-May-07 21:15
ThatsAlok16-May-07 21:15 
AnswerRe: making windows service with wxwidget Pin
Priyank Bolia16-May-07 21:53
Priyank Bolia16-May-07 21:53 
QuestionReporting tool Pin
Piyush Thacker9-May-07 23:33
Piyush Thacker9-May-07 23:33 
JokeRe: Reporting tool Pin
Programm3r9-May-07 23:40
Programm3r9-May-07 23:40 
GeneralRe: Reporting tool Pin
BadJerry10-May-07 1:36
BadJerry10-May-07 1:36 
QuestionLinker error using dll? Pin
$uresh $hanmugam9-May-07 22:14
$uresh $hanmugam9-May-07 22:14 
AnswerRe: Linker error using dll? Pin
Cedric Moonen9-May-07 22:21
Cedric Moonen9-May-07 22:21 
GeneralRe: Linker error using dll? Pin
$uresh $hanmugam9-May-07 22:28
$uresh $hanmugam9-May-07 22:28 
yah sure..

this is my function body..

IMPLEMENT_SERIAL(SRecordset,CObject,VERSIONABLE_SCHEMA | 2)<br />
<br />
BOOL SRecordset::SSOpen(CDatabase &dbConnectedObj,CString sQuery) <br />
{<br />
	if(!dbConnectedObj.IsOpen())<br />
		return FALSE;<br />
		<br />
	CRecordset rsObject(&dbConnectedObj);<br />
	<br />
	CString sValue;<br />
<br />
	if(!rsObject.Open(AFX_DB_USE_DEFAULT_TYPE,sQuery))  <br />
		return FALSE;<br />
<br />
	iNumFldCount = rsObject.GetODBCFieldCount(); <br />
	<br />
	iNumRec = 0; <br />
	<br />
	while(!rsObject.IsEOF())<br />
	{<br />
		rsObject.MoveNext();  <br />
		iNumRec++;           <br />
	}<br />
<br />
	iTotalSize = iNumFldCount * iNumRec; <br />
<br />
	saDataContainer.SetSize(iTotalSize); <br />
<br />
	rsObject.MoveFirst();<br />
<br />
	iRecCount = 0;<br />
<br />
	while(!rsObject.IsEOF())<br />
	{<br />
		for(int ic=0; ic < iNumFldCount; ic++)<br />
		{<br />
			sValue = "";<br />
			rsObject.GetFieldValue(ic,sValue);<br />
			saDataContainer[iRecCount] = sValue; 			<br />
			iRecCount++;<br />
		}<br />
		<br />
		rsObject.MoveNext();<br />
	}<br />
	<br />
	rsObject.Close();<br />
	dbConnectedObj.Close();<br />
	return TRUE;<br />
<br />
}

GeneralRe: Linker error using dll? Pin
Cedric Moonen9-May-07 22:32
Cedric Moonen9-May-07 22:32 
GeneralRe: Linker error using dll? [modified] Pin
$uresh $hanmugam9-May-07 22:50
$uresh $hanmugam9-May-07 22:50 
QuestionXMLHTTP error 12019 Pin
Andy H9-May-07 22:12
Andy H9-May-07 22:12 
AnswerRe: XMLHTTP error 12019 Pin
Andy H10-May-07 0:26
Andy H10-May-07 0:26 
GeneralRe: XMLHTTP error 12019 Pin
Andy H10-May-07 1:06
Andy H10-May-07 1:06 
QuestionCancel dialog Pin
deeps_cute9-May-07 22:11
deeps_cute9-May-07 22:11 
AnswerRe: Cancel dialog Pin
Rajesh R Subramanian9-May-07 22:18
professionalRajesh R Subramanian9-May-07 22:18 
AnswerRe: Cancel dialog Pin
Hamid_RT9-May-07 22:25
Hamid_RT9-May-07 22:25 
GeneralRe: Cancel dialog Pin
deeps_cute9-May-07 23:14
deeps_cute9-May-07 23:14 
QuestionRe: Cancel dialog Pin
Hamid_RT10-May-07 2:16
Hamid_RT10-May-07 2:16 
GeneralRe: Cancel dialog Pin
Nelek13-May-07 19:48
protectorNelek13-May-07 19:48 
AnswerRe: Cancel dialog Pin
Nelek9-May-07 23:14
protectorNelek9-May-07 23:14 
GeneralRe: Cancel dialog Pin
deeps_cute10-May-07 0:20
deeps_cute10-May-07 0:20 
GeneralRe: Cancel dialog Pin
ThatsAlok16-May-07 21:13
ThatsAlok16-May-07 21:13 
QuestionRe: Cancel dialog Pin
David Crow10-May-07 2:00
David Crow10-May-07 2:00 
AnswerRe: Cancel dialog Pin
ThatsAlok16-May-07 21:12
ThatsAlok16-May-07 21:12 
QuestionUsing GROUP BY Clause in CRecordset::Open() Pin
Rajesh_Parameswaran9-May-07 21:39
Rajesh_Parameswaran9-May-07 21:39 

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.