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

C / C++ / MFC

 
GeneralRe: Winsock Hooking Pin
Ghazi H. Wadi28-May-01 7:09
Ghazi H. Wadi28-May-01 7:09 
QuestionWhy does CSimpleArray do this?? Pin
Ben Burnett27-May-01 12:25
Ben Burnett27-May-01 12:25 
AnswerRe: Why does CSimpleArray do this?? Pin
Tim Deveaux28-May-01 10:17
Tim Deveaux28-May-01 10:17 
GeneralRe: Why does CSimpleArray do this?? Pin
Tomasz Sowinski28-May-01 10:25
Tomasz Sowinski28-May-01 10:25 
GeneralRe: Why does CSimpleArray do this?? Pin
Tim Deveaux28-May-01 10:36
Tim Deveaux28-May-01 10:36 
GeneralRe: Why does CSimpleArray do this?? Pin
Tomasz Sowinski28-May-01 10:41
Tomasz Sowinski28-May-01 10:41 
GeneralRe: Why does CSimpleArray do this?? Pin
Tomasz Sowinski29-May-01 1:01
Tomasz Sowinski29-May-01 1:01 
GeneralRe: Why does CSimpleArray do this?? Pin
Tim Deveaux29-May-01 4:36
Tim Deveaux29-May-01 4:36 
I dont think SetAtIndex is intended to be used outside the context of Add.

Since the primary purpose (documented anyway) of CSimpleArray is to provied a record container for CRowsetImpl, we could probably look at how its used there. I would imagine it's treated like CSimpleValArray, which pares down the interface to the working norm of Add(), operator[](), and Remove().

Found this in the MSDN as well - but haven't looked at it:

The CMSPArray template implements a smart array that will grow on demand. It is designed to hold small arrays with simple data types. It doesn't have a critical section. Its only dependencies are realloc and memmove. It is used internally to keep lists of object pointers. It is similar to ATL 2.1's CSimpleArray implementation, but it is more efficient for initial allocations.

This template is defined in MSPutils.h.

GeneralRe: Why does CSimpleArray do this?? Pin
Ben Burnett28-May-01 16:06
Ben Burnett28-May-01 16:06 
GeneralRe: Why does CSimpleArray do this?? Pin
Tomasz Sowinski29-May-01 1:10
Tomasz Sowinski29-May-01 1:10 
GeneralRe: Why does CSimpleArray do this?? Pin
Tim Deveaux29-May-01 7:48
Tim Deveaux29-May-01 7:48 
GeneralCataloguer Source PLZ Pin
BLaZe27-May-01 11:32
BLaZe27-May-01 11:32 
Generalc strcmp alternative Pin
27-May-01 11:24
suss27-May-01 11:24 
GeneralRe: c strcmp alternative Pin
Michael Dunn27-May-01 11:30
sitebuilderMichael Dunn27-May-01 11:30 
GeneralLoading Images & displaying on a CDC Pin
27-May-01 10:14
suss27-May-01 10:14 
GeneralRe: Loading Images & displaying on a CDC Pin
Michael Dunn27-May-01 11:31
sitebuilderMichael Dunn27-May-01 11:31 
GeneralThx! Still: Loading Images & displaying on a CDC? Pin
27-May-01 12:27
suss27-May-01 12:27 
GeneralRe: Thx! Still: Loading Images & displaying on a CDC? Pin
Christian Graus27-May-01 14:17
protectorChristian Graus27-May-01 14:17 
GeneralThank you both! Pin
27-May-01 22:07
suss27-May-01 22:07 
GeneralSerialazing in 'Dialog Based App' Pin
27-May-01 3:06
suss27-May-01 3:06 
GeneralSerialazing in 'Dialog Based App' Pin
27-May-01 3:06
suss27-May-01 3:06 
GeneralINI Files Pin
#realJSOP27-May-01 1:39
professional#realJSOP27-May-01 1:39 
GeneralRe: INI Files Pin
Christian Graus27-May-01 2:41
protectorChristian Graus27-May-01 2:41 
GeneralRe: INI Files Pin
#realJSOP27-May-01 3:53
professional#realJSOP27-May-01 3:53 
GeneralRe: INI Files Pin
#realJSOP28-May-01 1:04
professional#realJSOP28-May-01 1:04 

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.