Click here to Skip to main content
15,921,577 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: about System.IO.FileLoadException Exception from HRESULT: 0x800736B1 (Could not load file or assembly ...) Pin
bsaksida4-Jan-07 23:49
bsaksida4-Jan-07 23:49 
GeneralRe: about System.IO.FileLoadException Exception from HRESULT: 0x800736B1 (Could not load file or assembly ...) Pin
Super Lloyd5-Jan-07 0:27
Super Lloyd5-Jan-07 0:27 
GeneralRe: about System.IO.FileLoadException Exception from HRESULT: 0x800736B1 (Could not load file or assembly ...) Pin
bsaksida5-Jan-07 1:12
bsaksida5-Jan-07 1:12 
GeneralRe: about System.IO.FileLoadException Exception from HRESULT: 0x800736B1 (Could not load file or assembly ...) Pin
Super Lloyd5-Jan-07 10:15
Super Lloyd5-Jan-07 10:15 
QuestionDetecting sql server and db2 Pin
saqib823-Jan-07 18:56
saqib823-Jan-07 18:56 
AnswerRe: Detecting sql server and db2 Pin
Christian Graus3-Jan-07 19:03
protectorChristian Graus3-Jan-07 19:03 
AnswerRe: Detecting sql server and db2 Pin
bsaksida4-Jan-07 22:32
bsaksida4-Jan-07 22:32 
QuestionClarify malloc() and free() Pin
Reagan Conservative3-Jan-07 9:34
Reagan Conservative3-Jan-07 9:34 
I have always thought that free was only used to 'free' memory that was allocated by malloc(), calloc(0, etc. I am looking at lrgacy code and viewing the use of free() to de-allocate a common pointer, not a pointer that was allocated by malloc(). I have found references that says for free(): if the argument does not match a pointer earlier returned by the calloc(), malloc(), [ADV] posix_memalign(), realloc(), or [XSI] strdup() function, or if the space has been deallocated by a call to free() or realloc(), the behavior is undefined. Are these statements correct?

Second question, this legacy code usually has more calloc() and malloc(0 calls that calls to free(). What can result from this? This legacy code is running on a real-time system.


Thanks for any input.

John


John P.

AnswerRe: Clarify malloc() and free() Pin
Christian Graus3-Jan-07 10:52
protectorChristian Graus3-Jan-07 10:52 
GeneralRe: Clarify malloc() and free() Pin
Reagan Conservative3-Jan-07 11:26
Reagan Conservative3-Jan-07 11:26 
GeneralRe: Clarify malloc() and free() Pin
led mike5-Jan-07 4:58
led mike5-Jan-07 4:58 
Questionbeginner in c++ Pin
ellarond2-Jan-07 20:41
ellarond2-Jan-07 20:41 
AnswerRe: beginner in c++ Pin
Jun Du3-Jan-07 1:22
Jun Du3-Jan-07 1:22 
QuestionRunning a C++/CLI dll from C# Pin
Christian Graus2-Jan-07 0:20
protectorChristian Graus2-Jan-07 0:20 
AnswerRe: Running a C++/CLI dll from C# Pin
bsaksida2-Jan-07 7:25
bsaksida2-Jan-07 7:25 
GeneralRe: Running a C++/CLI dll from C# Pin
Christian Graus2-Jan-07 10:10
protectorChristian Graus2-Jan-07 10:10 
AnswerRe: Running a C++/CLI dll from C# [modified] Pin
led mike2-Jan-07 10:22
led mike2-Jan-07 10:22 
GeneralRe: Running a C++/CLI dll from C# Pin
Christian Graus2-Jan-07 15:44
protectorChristian Graus2-Jan-07 15:44 
QuestionMoving The Mouse Then Clicking It's Button ? Pin
Fritzables1-Jan-07 12:32
Fritzables1-Jan-07 12:32 
AnswerRe: Moving The Mouse Then Clicking It's Button ? Pin
Christian Graus1-Jan-07 23:54
protectorChristian Graus1-Jan-07 23:54 
GeneralRe: Moving The Mouse Then Clicking It's Button ? Pin
Fritzables2-Jan-07 0:29
Fritzables2-Jan-07 0:29 
QuestionMessage Removed Pin
1-Jan-07 7:58
Armond Sarkisian1-Jan-07 7:58 
AnswerRe: A Little Bit Confused... Pin
Xpnctoc1-Jan-07 9:20
Xpnctoc1-Jan-07 9:20 
AnswerRe: A Little Bit Confused... Pin
bsaksida1-Jan-07 10:35
bsaksida1-Jan-07 10:35 
QuestionHandle vs. pointer access speed??? Pin
Xpnctoc31-Dec-06 19:22
Xpnctoc31-Dec-06 19:22 

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.