Click here to Skip to main content
15,914,488 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MFC Dll called from WIN32 Dll Pin
Tomasz Sowinski21-Jun-01 2:12
Tomasz Sowinski21-Jun-01 2:12 
GeneralC++ map Pin
parag21-Jun-01 1:34
parag21-Jun-01 1:34 
GeneralRe: C++ map Pin
21-Jun-01 2:34
suss21-Jun-01 2:34 
GeneralRe: C++ map Pin
parag21-Jun-01 3:01
parag21-Jun-01 3:01 
GeneralRe: C++ map Pin
Tomasz Sowinski21-Jun-01 2:55
Tomasz Sowinski21-Jun-01 2:55 
GeneralRe: C++ map Pin
21-Jun-01 5:59
suss21-Jun-01 5:59 
Questionhow to pass CTypedPtrList object Pin
pathi20-Jun-01 23:37
pathi20-Jun-01 23:37 
AnswerRe: how to pass CTypedPtrList object Pin
Tomasz Sowinski21-Jun-01 0:18
Tomasz Sowinski21-Jun-01 0:18 
You're trying to pass CTypedPtrList by value. You should use const reference instead - passing arguments by value is usually much slower and resource consuming (unless you're passing stucts containing only simple types like int or double).

Change the declaration of writeFile function to this:
void writeFile(CString filepath, const CTypedPtrList & list);


Tomasz Sowinski -- http://www.shooltz.com.pl
GeneralAutomatic Browser Plugin Installer Pin
Kannan Kalyanaraman20-Jun-01 23:08
Kannan Kalyanaraman20-Jun-01 23:08 
Generalcall Pin
20-Jun-01 22:11
suss20-Jun-01 22:11 
GeneralRe: call Pin
21-Jun-01 9:42
suss21-Jun-01 9:42 
Generalaka network neighborhood Pin
20-Jun-01 21:58
suss20-Jun-01 21:58 
GeneralRe: aka network neighborhood Pin
Ben Burnett21-Jun-01 7:14
Ben Burnett21-Jun-01 7:14 
GeneralHw to use CArray template Pin
Özgür20-Jun-01 21:15
Özgür20-Jun-01 21:15 
GeneralRe: Hw to use CArray template Pin
Bob Groves20-Jun-01 21:32
Bob Groves20-Jun-01 21:32 
GeneralRe: Hw to use CArray template Pin
Bob Groves20-Jun-01 21:33
Bob Groves20-Jun-01 21:33 
GeneralRe: Hw to use CArray template Pin
Bob Groves20-Jun-01 21:34
Bob Groves20-Jun-01 21:34 
GeneralRe: Hw to use CArray template Pin
Christian Graus20-Jun-01 22:22
protectorChristian Graus20-Jun-01 22:22 
GeneralRe: Hw to use CArray template Pin
21-Jun-01 5:32
suss21-Jun-01 5:32 
GeneralMemory leak Pin
parag20-Jun-01 20:56
parag20-Jun-01 20:56 
GeneralRe: Memory leak Pin
Christian Graus20-Jun-01 22:25
protectorChristian Graus20-Jun-01 22:25 
GeneralLVN_ITEMCHANGED - CListCtrl Pin
sankar20-Jun-01 20:49
sankar20-Jun-01 20:49 
GeneralRe: LVN_ITEMCHANGED - CListCtrl Pin
Michael Dunn20-Jun-01 20:53
sitebuilderMichael Dunn20-Jun-01 20:53 
GeneralRe: LVN_ITEMCHANGED - CListCtrl Pin
Michael Dunn20-Jun-01 21:43
sitebuilderMichael Dunn20-Jun-01 21:43 
Questionhow can i handle file commands to read and write xml files Pin
pathi20-Jun-01 20:27
pathi20-Jun-01 20:27 

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.