Click here to Skip to main content
15,918,742 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ListCtrl Pin
sweep12327-Sep-04 2:50
sweep12327-Sep-04 2:50 
Generaloci Pin
twokai23-Sep-04 2:15
twokai23-Sep-04 2:15 
GeneralRe: oci Pin
toxcct23-Sep-04 4:01
toxcct23-Sep-04 4:01 
QuestionHow to Debug? Pin
Deepak Samuel23-Sep-04 2:01
Deepak Samuel23-Sep-04 2:01 
AnswerRe: How to Debug? Pin
Arsalan Malik23-Sep-04 2:41
Arsalan Malik23-Sep-04 2:41 
AnswerRe: How to Debug? Pin
toxcct23-Sep-04 3:59
toxcct23-Sep-04 3:59 
Generalconnect an hard disk image as a virtual logical disks Pin
Member 114028423-Sep-04 1:21
Member 114028423-Sep-04 1:21 
QuestionEfficiency ? Pin
shiraztk23-Sep-04 0:44
shiraztk23-Sep-04 0:44 
Hi
There are many Win32 APIs that when passed with a NULL returns the size of the buffer it is expecting (say- GetLogicalDriveStrings).

The question is which one would be better.

1. Create a reasonable sized array and call api.
2. Call the API twice and then allocate.

Regards

Shiraz



The Best Relligion is Science.
Once you understand it, you will know God.
AnswerRe: Efficiency ? Pin
Daniel Turini23-Sep-04 1:36
Daniel Turini23-Sep-04 1:36 
AnswerRe: Efficiency ? Pin
Henry miller23-Sep-04 2:55
Henry miller23-Sep-04 2:55 
GeneralRe: Efficiency ? Pin
shiraztk23-Sep-04 3:59
shiraztk23-Sep-04 3:59 
GeneralRe: Efficiency ? Pin
Neville Franks23-Sep-04 11:38
Neville Franks23-Sep-04 11:38 
GeneralRe: Efficiency ? Pin
Henry miller23-Sep-04 11:44
Henry miller23-Sep-04 11:44 
AnswerRe: Efficiency ? Pin
David Crow23-Sep-04 5:42
David Crow23-Sep-04 5:42 
AnswerRe: Efficiency ? Pin
shiraztk23-Sep-04 17:47
shiraztk23-Sep-04 17:47 
Generalclass and dll Pin
viliam23-Sep-04 0:16
viliam23-Sep-04 0:16 
Generaledit box Pin
anuchelvi22-Sep-04 23:54
anuchelvi22-Sep-04 23:54 
GeneralRe: edit box Pin
anuchelvi23-Sep-04 1:06
anuchelvi23-Sep-04 1:06 
GeneralRe: edit box Pin
David Crow23-Sep-04 2:53
David Crow23-Sep-04 2:53 
GeneralAnimated greetings when program starts Pin
Gegi22-Sep-04 23:13
Gegi22-Sep-04 23:13 
GeneralRe: Animated greetings when program starts Pin
Arsalan Malik22-Sep-04 23:25
Arsalan Malik22-Sep-04 23:25 
GeneralRe: Animated greetings when program starts Pin
Gegi23-Sep-04 0:30
Gegi23-Sep-04 0:30 
GeneralRe: Animated greetings when program starts Pin
Maximilien23-Sep-04 0:44
Maximilien23-Sep-04 0:44 
GeneralRe: Animated greetings when program starts Pin
ThatsAlok23-Sep-04 3:11
ThatsAlok23-Sep-04 3:11 
GeneralRe: Animated greetings when program starts Pin
Ravi Bhavnani23-Sep-04 3:23
professionalRavi Bhavnani23-Sep-04 3:23 

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.