Click here to Skip to main content
15,915,093 members
Home / Discussions / C#
   

C#

 
GeneralRe: ASPX using C# : Exception Details: System.Web.HttpException: A page can have only one server-side Form tag. Pin
jmfekete15-Dec-05 8:06
jmfekete15-Dec-05 8:06 
GeneralRe: ASPX using C# : Exception Details: System.Web.HttpException: A page can have only one server-side Form tag. Pin
enjoycrack15-Dec-05 8:09
enjoycrack15-Dec-05 8:09 
GeneralRe: ASPX using C# : Exception Details: System.Web.HttpException: A page can have only one server-side Form tag. Pin
jmfekete15-Dec-05 8:25
jmfekete15-Dec-05 8:25 
QuestionComposite Pattern and Generics Pin
RogerRabbit7815-Dec-05 7:20
RogerRabbit7815-Dec-05 7:20 
QuestionASPX using C# : System.InvalidCastException: Specified cast is not valid Pin
jmfekete15-Dec-05 6:57
jmfekete15-Dec-05 6:57 
AnswerRe: ASPX using C# : System.InvalidCastException: Specified cast is not valid Pin
enjoycrack15-Dec-05 7:00
enjoycrack15-Dec-05 7:00 
GeneralRe: ASPX using C# : System.InvalidCastException: Specified cast is not valid Pin
jmfekete15-Dec-05 7:25
jmfekete15-Dec-05 7:25 
GeneralRe: ASPX using C# : System.InvalidCastException: Specified cast is not valid Pin
jmfekete15-Dec-05 7:30
jmfekete15-Dec-05 7:30 
GeneralRe: ASPX using C# : System.InvalidCastException: Specified cast is not valid Pin
enjoycrack15-Dec-05 7:52
enjoycrack15-Dec-05 7:52 
AnswerRe: ASPX using C# : System.InvalidCastException: Specified cast is not valid Pin
chinky singh15-Dec-05 7:22
chinky singh15-Dec-05 7:22 
GeneralRe: ASPX using C# : System.InvalidCastException: Specified cast is not valid Pin
jmfekete15-Dec-05 7:29
jmfekete15-Dec-05 7:29 
QuestionA Static class Serialization problem Pin
HolyGrandFather15-Dec-05 6:45
HolyGrandFather15-Dec-05 6:45 
AnswerRe: A Static class Serialization problem Pin
Guffa15-Dec-05 11:39
Guffa15-Dec-05 11:39 
GeneralRe: A Static class Serialization problem Pin
HolyGrandFather16-Dec-05 8:59
HolyGrandFather16-Dec-05 8:59 
AnswerRe: A Static class Serialization problem Pin
Guffa18-Dec-05 0:48
Guffa18-Dec-05 0:48 
GeneralRe: A Static class Serialization problem Pin
HolyGrandFather18-Dec-05 5:27
HolyGrandFather18-Dec-05 5:27 
AnswerRe: A Static class Serialization problem Pin
Guffa18-Dec-05 22:51
Guffa18-Dec-05 22:51 
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

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.