Click here to Skip to main content
16,008,490 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Using static for a Large Data Structure Pin
Viorel.22-Nov-06 23:22
Viorel.22-Nov-06 23:22 
AnswerRe: Using static for a Large Data Structure Pin
CPallini22-Nov-06 23:25
mveCPallini22-Nov-06 23:25 
AnswerRe: Using static for a Large Data Structure Pin
Waldermort22-Nov-06 23:45
Waldermort22-Nov-06 23:45 
JokeRe: Using static for a Large Data Structure [modified] Pin
CPallini23-Nov-06 1:17
mveCPallini23-Nov-06 1:17 
GeneralRe: Using static for a Large Data Structure Pin
Prakash Nadar23-Nov-06 4:21
Prakash Nadar23-Nov-06 4:21 
GeneralRe: Using static for a Large Data Structure Pin
CPallini23-Nov-06 4:31
mveCPallini23-Nov-06 4:31 
GeneralRe: Using static for a Large Data Structure Pin
tom groezer23-Nov-06 9:11
tom groezer23-Nov-06 9:11 
GeneralRe: Using static for a Large Data Structure Pin
Prakash Nadar23-Nov-06 18:41
Prakash Nadar23-Nov-06 18:41 
tom groezer wrote:
Is it that the allocatin shall be made on the stack for a function using it.


Since the structure is declared in someother file, and used as extern in other files or function, the memory is still allocated to the structure, if the function is making a copy of the structure into its stack then its a different thing, but the original structure has been memory preallocated.


-Prakash

QuestionSHBrowseForFolder() (bis) Pin
super_ttd22-Nov-06 22:35
super_ttd22-Nov-06 22:35 
AnswerRe: SHBrowseForFolder() (bis) Pin
Viorel.22-Nov-06 22:48
Viorel.22-Nov-06 22:48 
GeneralRe: SHBrowseForFolder() (bis) Pin
super_ttd22-Nov-06 22:54
super_ttd22-Nov-06 22:54 
GeneralRe: SHBrowseForFolder() (bis) Pin
Viorel.22-Nov-06 23:18
Viorel.22-Nov-06 23:18 
GeneralRe: SHBrowseForFolder() (bis) Pin
super_ttd22-Nov-06 23:21
super_ttd22-Nov-06 23:21 
GeneralRe: SHBrowseForFolder() (bis) Pin
Viorel.22-Nov-06 23:38
Viorel.22-Nov-06 23:38 
GeneralRe: SHBrowseForFolder() (bis) Pin
Mark Salsbery23-Nov-06 6:14
Mark Salsbery23-Nov-06 6:14 
GeneralRe: SHBrowseForFolder() (bis) Pin
super_ttd23-Nov-06 6:19
super_ttd23-Nov-06 6:19 
GeneralRe: SHBrowseForFolder() (bis) Pin
Mark Salsbery23-Nov-06 6:35
Mark Salsbery23-Nov-06 6:35 
GeneralRe: SHBrowseForFolder() (bis) Pin
super_ttd26-Nov-06 0:41
super_ttd26-Nov-06 0:41 
QuestionCListCtrl::OnCustomdrawCListCtrl(NMHDR* pNMHDR, LRESULT* pResult) Pin
bosfan22-Nov-06 22:22
bosfan22-Nov-06 22:22 
AnswerRe: CListCtrl::OnCustomdrawCListCtrl(NMHDR* pNMHDR, LRESULT* pResult) Pin
Viorel.22-Nov-06 22:35
Viorel.22-Nov-06 22:35 
GeneralRe: CListCtrl::OnCustomdrawCListCtrl(NMHDR* pNMHDR, LRESULT* pResult) Pin
bosfan22-Nov-06 23:50
bosfan22-Nov-06 23:50 
QuestionRe: CListCtrl::OnCustomdrawCListCtrl(NMHDR* pNMHDR, LRESULT* pResult) Pin
CPallini22-Nov-06 22:52
mveCPallini22-Nov-06 22:52 
AnswerRe: CListCtrl::OnCustomdrawCListCtrl(NMHDR* pNMHDR, LRESULT* pResult) Pin
bosfan22-Nov-06 23:52
bosfan22-Nov-06 23:52 
AnswerRe: CListCtrl::OnCustomdrawCListCtrl(NMHDR* pNMHDR, LRESULT* pResult) Pin
Michael Dunn23-Nov-06 0:23
sitebuilderMichael Dunn23-Nov-06 0:23 
GeneralRe: CListCtrl::OnCustomdrawCListCtrl(NMHDR* pNMHDR, LRESULT* pResult) Pin
bosfan23-Nov-06 1:01
bosfan23-Nov-06 1:01 

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.