Click here to Skip to main content
15,891,657 members
Home / Discussions / C#
   

C#

 
GeneralRe: A Static class Serialization problem Pin
HolyGrandFather19-Dec-05 4:50
HolyGrandFather19-Dec-05 4:50 
QuestionBrowser closing event Pin
chinky singh15-Dec-05 5:51
chinky singh15-Dec-05 5:51 
AnswerRe: Browser closing event Pin
albCode15-Dec-05 5:54
albCode15-Dec-05 5:54 
GeneralRe: Browser closing event Pin
chinky singh15-Dec-05 6:12
chinky singh15-Dec-05 6:12 
AnswerRe: Browser closing event Pin
Guffa15-Dec-05 11:54
Guffa15-Dec-05 11:54 
QuestionFree memory allocated in unmanaged DLL from C# Pin
Koushik Biswas15-Dec-05 5:50
Koushik Biswas15-Dec-05 5:50 
AnswerRe: Free memory allocated in unmanaged DLL from C# Pin
albCode15-Dec-05 5:56
albCode15-Dec-05 5:56 
QuestionThanks, but this is still not answered... Pin
Koushik Biswas15-Dec-05 6:04
Koushik Biswas15-Dec-05 6:04 
Thanks Albanian. But that really does not answer my question - as you see the article describes how to free the memory only if it was allocated from the C# code.

Like this: You in C#: you allocate some memory in unmanaged heap, and then you free it anfter using it. That is what the article shows.

But my situation is different: I am calling an unmanaged DLL that allocates the memory and returns the pointer. I use it from C#. There is no corresponding call back to the unmanaged DLL that will free the memory. I will have to free it myself from C# after using it.

As I did not allocate it, I don't have the HGlobal Handle or anything - all I have is the address returned. No Marshal class function is helping me out!

Thanks again for seeing my post and replying - I have been waiting for 2 days (i had posted this 2 days ago also) - but nobosy seems to have an answer!Sigh | :sigh: Sigh | :sigh: Sigh | :sigh: Sigh | :sigh:

Koushik Biswas
QuestionRe: Thanks, but this is still not answered... Pin
Koushik Biswas15-Dec-05 6:12
Koushik Biswas15-Dec-05 6:12 
AnswerRe: Thanks, but this is still not answered... Pin
albCode15-Dec-05 6:15
albCode15-Dec-05 6:15 
AnswerRe: Thanks, but this is still not answered... Pin
Gilad Kapelushnik17-Dec-05 23:26
Gilad Kapelushnik17-Dec-05 23:26 
QuestionContainer controls Pin
hasansheik15-Dec-05 5:22
hasansheik15-Dec-05 5:22 
AnswerRe: Container controls Pin
albCode15-Dec-05 5:36
albCode15-Dec-05 5:36 
GeneralRe: Container controls Pin
hasansheik15-Dec-05 6:03
hasansheik15-Dec-05 6:03 
GeneralRe: Container controls Pin
Sean Michael Murphy15-Dec-05 14:43
Sean Michael Murphy15-Dec-05 14:43 
QuestionHow to check the control is container control. Pin
hasansheik15-Dec-05 5:16
hasansheik15-Dec-05 5:16 
Questionexcel output Pin
dimx215-Dec-05 5:12
dimx215-Dec-05 5:12 
AnswerRe: excel output Pin
Curtis Schlak.15-Dec-05 11:13
Curtis Schlak.15-Dec-05 11:13 
GeneralRe: excel output Pin
dimx220-Dec-05 2:43
dimx220-Dec-05 2:43 
QuestionUsing CheckedListBox Pin
Gulfraz Khan15-Dec-05 4:47
Gulfraz Khan15-Dec-05 4:47 
QuestionHow do you use DataGridTableStyle with a strong typed collection derived from CollectionBase Pin
tcmgc15-Dec-05 4:44
tcmgc15-Dec-05 4:44 
Questionproxi authentification Pin
Camilo Sanchez15-Dec-05 4:26
Camilo Sanchez15-Dec-05 4:26 
AnswerRe: proxi authentification Pin
S. Senthil Kumar15-Dec-05 4:46
S. Senthil Kumar15-Dec-05 4:46 
GeneralRe: proxi authentification Pin
Camilo Sanchez28-Dec-05 13:14
Camilo Sanchez28-Dec-05 13:14 
QuestionReading from Network & Writing Contents to a Local File Pin
farhan197615-Dec-05 4:24
farhan197615-Dec-05 4:24 

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.