Click here to Skip to main content
15,920,828 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralHaving prolems with CreateProcessAsUser Pin
billdwilson317-Apr-03 6:46
billdwilson317-Apr-03 6:46 
QuestionIs TreeContol Thread Safe? Pin
orcun colak17-Apr-03 6:37
orcun colak17-Apr-03 6:37 
AnswerRe: Is TreeContol Thread Safe? Pin
David Crow17-Apr-03 9:20
David Crow17-Apr-03 9:20 
AnswerRe: Is TreeContol Thread Safe? Pin
Gary R. Wheeler18-Apr-03 3:45
Gary R. Wheeler18-Apr-03 3:45 
QuestionTN062 is Wrong... Right? Pin
Anonymous17-Apr-03 5:46
Anonymous17-Apr-03 5:46 
AnswerRe: TN062 is Wrong... Right? Pin
Bartosz Bien17-Apr-03 11:55
Bartosz Bien17-Apr-03 11:55 
Generalnumber of records in a query using ado Pin
si_6917-Apr-03 4:56
si_6917-Apr-03 4:56 
GeneralRe: number of records in a query using ado Pin
Toni7817-Apr-03 19:21
Toni7817-Apr-03 19:21 
RecordCount doesn't always work and I think it has to do with the database. However, if you want to know all the records that you have pulled there are two different ways (in case RecordCount doesn't work).

// The first one is to iterate throuch each recordset
// pRs is an object of RecordsetPtr_
pRs->MoveFirst()
nCounter = 0;
while( pRs->GetEOF() == FALSE )
{
nCounter++;
pRs->MoveNext();
}

// The second method is to use SQL statements by using
SELECT COUNT(*) AS Total FROM Table WHERE condition

// Afterall I realized that even my comment lines have bugs
GeneralGrid Control using CListCtrl Question Pin
ttohme17-Apr-03 4:51
ttohme17-Apr-03 4:51 
GeneralRe: Grid Control using CListCtrl Question Pin
João Paulo Figueira17-Apr-03 5:08
professionalJoão Paulo Figueira17-Apr-03 5:08 
GeneralRe: Grid Control using CListCtrl Question Pin
ttohme17-Apr-03 5:26
ttohme17-Apr-03 5:26 
QuestionHow to capture the notification when the explorer.exe is first inited? Pin
zmnie17-Apr-03 4:48
zmnie17-Apr-03 4:48 
AnswerRe: How to capture the notification when the explorer.exe is first inited? Pin
Brian Shifrin17-Apr-03 4:55
Brian Shifrin17-Apr-03 4:55 
AnswerRe: How to capture the notification when the explorer.exe is first inited? Pin
David Crow17-Apr-03 5:06
David Crow17-Apr-03 5:06 
QuestionReference or pointer, which is better in my case? Pin
George217-Apr-03 4:44
George217-Apr-03 4:44 
AnswerRe: Reference or pointer, which is better in my case? Pin
João Paulo Figueira17-Apr-03 5:11
professionalJoão Paulo Figueira17-Apr-03 5:11 
GeneralRe: Reference or pointer, which is better in my case? Pin
Daniel Strigl17-Apr-03 9:51
Daniel Strigl17-Apr-03 9:51 
GeneralRe: Reference or pointer, which is better in my case? Pin
George217-Apr-03 15:20
George217-Apr-03 15:20 
GeneralRe: Reference or pointer, which is better in my case? Pin
George217-Apr-03 15:20
George217-Apr-03 15:20 
GeneralRe: Reference or pointer, which is better in my case? Pin
Bartosz Bien18-Apr-03 5:17
Bartosz Bien18-Apr-03 5:17 
GeneralRe: Reference or pointer, which is better in my case? Pin
George218-Apr-03 18:20
George218-Apr-03 18:20 
Generalobject pooling for genric C++ class Pin
User 988517-Apr-03 3:53
User 988517-Apr-03 3:53 
GeneralRe: object pooling for genric C++ class Pin
Chris Richardson17-Apr-03 8:34
Chris Richardson17-Apr-03 8:34 
GeneralRe: object pooling for genric C++ class Pin
User 988517-Apr-03 8:52
User 988517-Apr-03 8:52 
GeneralRe: object pooling for genric C++ class Pin
Chris Richardson17-Apr-03 9:06
Chris Richardson17-Apr-03 9:06 

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.