Click here to Skip to main content
16,004,887 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to detect which is a COM dll and which a regular dll file? [modified] Pin
sheny15-Aug-07 7:10
sheny15-Aug-07 7:10 
AnswerRe: How to detect which is a COM dll and which a regular dll file? Pin
sw@thi15-Aug-07 20:15
sw@thi15-Aug-07 20:15 
GeneralRe: How to detect which is a COM dll and which a regular dll file? Pin
sheny16-Aug-07 8:40
sheny16-Aug-07 8:40 
QuestionApplication fails trying to display a dialog containing an ActiveX control [modified] Pin
tufkap15-Aug-07 6:10
tufkap15-Aug-07 6:10 
QuestionOLE discussion Pin
tom groezer15-Aug-07 5:07
tom groezer15-Aug-07 5:07 
AnswerRe: OLE discussion Pin
led mike15-Aug-07 5:25
led mike15-Aug-07 5:25 
Questiondelete or delete[] Pin
Hamed Musavi15-Aug-07 5:06
Hamed Musavi15-Aug-07 5:06 
AnswerRe: delete or delete[] Pin
jhwurmbach15-Aug-07 5:13
jhwurmbach15-Aug-07 5:13 
Hamed Mosavi wrote:
delete[] blah; delete blah;.
what's difference


Simple: If the memory was newed with [], use delete[], otherwise normal delete.
delete[] calls the destructors of the elements of the array before freeig the memory, whereas delete does not.
You might get away with using the wrong one, until you are really under pressure. Then the whole sh*t will explode in your face.


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: delete or delete[] Pin
Hamed Musavi15-Aug-07 5:21
Hamed Musavi15-Aug-07 5:21 
GeneralRe: delete or delete[] Pin
Nemanja Trifunovic15-Aug-07 6:24
Nemanja Trifunovic15-Aug-07 6:24 
GeneralRe: delete or delete[] Pin
Hamed Musavi15-Aug-07 8:04
Hamed Musavi15-Aug-07 8:04 
GeneralRe: delete or delete[] Pin
Nemanja Trifunovic15-Aug-07 8:27
Nemanja Trifunovic15-Aug-07 8:27 
GeneralRe: delete or delete[] Pin
Hamed Musavi15-Aug-07 18:09
Hamed Musavi15-Aug-07 18:09 
GeneralRe: delete or delete[] [modified] Pin
jhwurmbach15-Aug-07 5:27
jhwurmbach15-Aug-07 5:27 
AnswerRe: delete or delete[] Pin
led mike15-Aug-07 5:20
led mike15-Aug-07 5:20 
GeneralRe: delete or delete[] Pin
Hamed Musavi15-Aug-07 5:22
Hamed Musavi15-Aug-07 5:22 
AnswerRe: delete or delete[] Pin
karle15-Aug-07 21:26
karle15-Aug-07 21:26 
QuestionApp With System Tray Icon Pin
Daniel Kanev15-Aug-07 4:52
Daniel Kanev15-Aug-07 4:52 
AnswerRe: App With System Tray Icon Pin
led mike15-Aug-07 4:59
led mike15-Aug-07 4:59 
GeneralRe: App With System Tray Icon Pin
Daniel Kanev15-Aug-07 5:20
Daniel Kanev15-Aug-07 5:20 
GeneralRe: App With System Tray Icon Pin
led mike15-Aug-07 5:30
led mike15-Aug-07 5:30 
GeneralRe: App With System Tray Icon Pin
Daniel Kanev15-Aug-07 6:43
Daniel Kanev15-Aug-07 6:43 
QuestionDynamic Menu callback question. Pin
Maximilien15-Aug-07 4:42
Maximilien15-Aug-07 4:42 
QuestionSuspending an application with out using Sleep() Pin
koumodaki15-Aug-07 3:37
koumodaki15-Aug-07 3:37 
AnswerRe: Suspending an application with out using Sleep() Pin
Justin Perez15-Aug-07 3:42
Justin Perez15-Aug-07 3:42 

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.