Click here to Skip to main content
15,916,379 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Curioisity Pin
toxcct20-Sep-07 6:47
toxcct20-Sep-07 6:47 
AnswerRe: How to create file in this program and make it generate Pin
Programm3r20-Sep-07 3:40
Programm3r20-Sep-07 3:40 
GeneralRe: How to create file in this program and make it generate Pin
snoop8220-Sep-07 4:17
snoop8220-Sep-07 4:17 
GeneralRe: How to create file in this program and make it generate Pin
Nelek20-Sep-07 4:19
protectorNelek20-Sep-07 4:19 
GeneralRe: How to create file in this program and make it generate Pin
toxcct20-Sep-07 4:25
toxcct20-Sep-07 4:25 
QuestionGetDC() returning NULL handle in MFC Pin
Dhiraj kumar Saini20-Sep-07 3:28
Dhiraj kumar Saini20-Sep-07 3:28 
QuestionRe: GetDC() returning NULL handle in MFC Pin
Hamid_RT20-Sep-07 4:14
Hamid_RT20-Sep-07 4:14 
AnswerRe: GetDC() returning NULL handle in MFC Pin
Mark Salsbery20-Sep-07 6:22
Mark Salsbery20-Sep-07 6:22 
AnswerRe: GetDC() returning NULL handle in MFC Pin
nbugalia20-Sep-07 6:41
nbugalia20-Sep-07 6:41 
QuestionCustomdrawn CListCtrl Pin
josip cagalj20-Sep-07 3:09
josip cagalj20-Sep-07 3:09 
AnswerRe: Customdrawn CListCtrl Pin
Nelek20-Sep-07 4:16
protectorNelek20-Sep-07 4:16 
Questionwhy CArray::GetSize() returns INT_PTR Pin
Raj Prathap20-Sep-07 3:01
Raj Prathap20-Sep-07 3:01 
AnswerRe: why CArray::GetSize() returns INT_PTR Pin
Nemanja Trifunovic20-Sep-07 3:54
Nemanja Trifunovic20-Sep-07 3:54 
AnswerRe: why CArray::GetSize() returns INT_PTR Pin
jhwurmbach20-Sep-07 3:56
jhwurmbach20-Sep-07 3:56 
GeneralRe: why CArray::GetSize() returns INT_PTR Pin
James R. Twine20-Sep-07 6:52
James R. Twine20-Sep-07 6:52 
GeneralRe: why CArray::GetSize() returns INT_PTR Pin
jhwurmbach20-Sep-07 7:17
jhwurmbach20-Sep-07 7:17 
GeneralRe: why CArray::GetSize() returns INT_PTR Pin
James R. Twine20-Sep-07 12:25
James R. Twine20-Sep-07 12:25 
GeneralRe: why CArray::GetSize() returns INT_PTR Pin
jhwurmbach20-Sep-07 21:29
jhwurmbach20-Sep-07 21:29 
James R. Twine wrote:
The object could be in a state where it is not yet associated with, or has been detached from, an array. Asking the object for the number of elements should return... What?


0. No elements would be retrievable.

James R. Twine wrote:
Returning zero means that the collection has a size of zero, not that there is no collection.


Why sould the "GetSize"-function answer a question other than that "How many elements are in the collection?". There are no elements to be retrieved, so the answer is null.

If your collection happens to have a state of being "invalid", there sould be another function to test that.
Note that I would have the actual access-routines return a proper error code.





Though I speak with the tongues of men and of angels, and have not money, I am become as a sounding brass, or a tinkling cymbal.
George Orwell, "Keep the Aspidistra Flying", Opening words

GeneralRe: why CArray::GetSize() returns INT_PTR Pin
James R. Twine20-Sep-07 23:29
James R. Twine20-Sep-07 23:29 
AnswerRe: why CArray::GetSize() returns INT_PTR Pin
toxcct20-Sep-07 6:44
toxcct20-Sep-07 6:44 
Questionhow to read data from hard disk using int86() function? Pin
amit.code20-Sep-07 2:43
amit.code20-Sep-07 2:43 
AnswerRe: how to read data from hard disk using int86() function? Pin
jhwurmbach20-Sep-07 4:07
jhwurmbach20-Sep-07 4:07 
GeneralRe: how to read data from hard disk using int86() function? Pin
Mark Salsbery20-Sep-07 6:34
Mark Salsbery20-Sep-07 6:34 
GeneralRe: how to read data from hard disk using int86() function? Pin
jhwurmbach20-Sep-07 6:36
jhwurmbach20-Sep-07 6:36 
QuestionRe: how to read data from hard disk using int86() function? Pin
David Crow20-Sep-07 17:40
David Crow20-Sep-07 17:40 

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.