Click here to Skip to main content
15,888,527 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Scroll bar in Listview [modified] Pin
Niklas L28-Apr-11 22:18
Niklas L28-Apr-11 22:18 
AnswerRe: Scroll bar in Listview Pin
Hans Dietrich29-Apr-11 0:31
mentorHans Dietrich29-Apr-11 0:31 
QuestionRe: Scroll bar in Listview Pin
Niklas L29-Apr-11 0:50
Niklas L29-Apr-11 0:50 
AnswerRe: Scroll bar in Listview Pin
Hans Dietrich29-Apr-11 4:21
mentorHans Dietrich29-Apr-11 4:21 
GeneralRe: Scroll bar in Listview Pin
TheHelenLee28-Apr-11 23:52
TheHelenLee28-Apr-11 23:52 
AnswerRe: Scroll bar in Listview Pin
Hans Dietrich29-Apr-11 0:19
mentorHans Dietrich29-Apr-11 0:19 
GeneralRe: Scroll bar in Listview Pin
TheHelenLee29-Apr-11 22:13
TheHelenLee29-Apr-11 22:13 
QuestionADO recordset moveNext abnormal Pin
Jokcy28-Apr-11 16:58
Jokcy28-Apr-11 16:58 
I have declared a variable
CADORecordset* m_Rpipe;
in class
CPipeLineView


I call a method
bool DetectSeque(int pipeID)
in class
CPipeLineView


In function
bool CPipeLineView::DetectSeque(int pipeID
)
like follows
<br />
bool CPipeLineView::DetectSeque(int pipeID)<br />
{<br />
	 m_Rpipe=CPipeDAL::GetPipeByID(pipeID);//业务信息的表示,pipeID为当前制定计划的管线编号<br />
		<br />
	m_Rpipe->->MoveFirst();<br />
<br />
	bool flag=false;<br />
<br />
	<br />
	<br />
	//将当前管线与其他异类管线进行比较<br />
<br />
	while(!m_Rpipe->IsEOF()&&!m_Rpipe->IsBof())<br />
	{<br />
// 		m_Rpipe->MoveNext();<br />
<br />
		if()//敷设优先级的值越大,优先级越小<br />
		{<br />
                  .....<br />
		}<br />
        m_Rpipe->MoveNext();<br />
        }<br />
	return flag;<br />
}<br />
<br />
,
as what is list above, errors accur while running at
m_Rpipe->MoveNext()
.But when I put
m_Rpipe->MoveNext();

before
if
sentence,it runs normally!
Please lend me a hand!
AnswerRe: ADO recordset moveNext abnormal Pin
barneyman28-Apr-11 18:57
barneyman28-Apr-11 18:57 
GeneralRe: ADO recordset moveNext abnormal Pin
Jokcy28-Apr-11 19:08
Jokcy28-Apr-11 19:08 
GeneralRe: ADO recordset moveNext abnormal Pin
barneyman28-Apr-11 19:21
barneyman28-Apr-11 19:21 
GeneralRe: ADO recordset moveNext abnormal Pin
Jokcy29-Apr-11 4:29
Jokcy29-Apr-11 4:29 
GeneralRe: ADO recordset moveNext abnormal Pin
barneyman29-Apr-11 17:13
barneyman29-Apr-11 17:13 
GeneralRe: ADO recordset moveNext abnormal Pin
Jokcy30-Apr-11 4:40
Jokcy30-Apr-11 4:40 
QuestionWriting to the console only (without re-direction) Pin
Member 385202428-Apr-11 12:00
Member 385202428-Apr-11 12:00 
AnswerRe: Writing to the console only (without re-direction) Pin
Hans Dietrich28-Apr-11 12:09
mentorHans Dietrich28-Apr-11 12:09 
GeneralRe: Writing to the console only (without re-direction) Pin
Member 385202428-Apr-11 12:15
Member 385202428-Apr-11 12:15 
GeneralRe: Writing to the console only (without re-direction) Pin
Hans Dietrich28-Apr-11 12:20
mentorHans Dietrich28-Apr-11 12:20 
GeneralRe: Writing to the console only (without re-direction) Pin
Member 385202428-Apr-11 12:52
Member 385202428-Apr-11 12:52 
GeneralRe: Writing to the console only (without re-direction) Pin
Member 385202428-Apr-11 13:08
Member 385202428-Apr-11 13:08 
AnswerRe: Writing to the console only (without re-direction) Pin
Hans Dietrich28-Apr-11 13:12
mentorHans Dietrich28-Apr-11 13:12 
GeneralRe: Writing to the console only (without re-direction) Pin
Member 385202428-Apr-11 13:29
Member 385202428-Apr-11 13:29 
QuestionXML Parsing using Tiny XML Pin
pix_programmer28-Apr-11 3:55
pix_programmer28-Apr-11 3:55 
AnswerRe: XML Parsing using Tiny XML Pin
Code-o-mat28-Apr-11 4:10
Code-o-mat28-Apr-11 4:10 
AnswerRe: XML Parsing using Tiny XML Pin
jschell28-Apr-11 8:24
jschell28-Apr-11 8:24 

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.