Click here to Skip to main content
15,916,293 members
Home / Discussions / C#
   

C#

 
QuestionDispose() Me Pin
Robert M Greene29-May-06 3:37
Robert M Greene29-May-06 3:37 
AnswerRe: Dispose() Me Pin
lmoelleb29-May-06 4:09
lmoelleb29-May-06 4:09 
AnswerRe: Dispose() Me Pin
leppie29-May-06 4:25
leppie29-May-06 4:25 
QuestionCreatinh a Business Object using CodeSmith templates Pin
Wesley Burger29-May-06 3:30
Wesley Burger29-May-06 3:30 
QuestionMultimedia in C# Pin
Lju229-May-06 2:50
Lju229-May-06 2:50 
AnswerRe: Multimedia in C# Pin
Rei Miyasaka29-May-06 10:42
Rei Miyasaka29-May-06 10:42 
QuestionProblem with windows form [modified] Pin
JelleM29-May-06 2:41
JelleM29-May-06 2:41 
AnswerRe: Problem with windows form [modified] Pin
Robert Rohde29-May-06 3:04
Robert Rohde29-May-06 3:04 
GeneralRe: Problem with windows form [modified] Pin
JelleM29-May-06 3:22
JelleM29-May-06 3:22 
QuestionUrgent When i m going to inherit from one form from another form Pin
Shiv529-May-06 2:22
Shiv529-May-06 2:22 
QuestionI got error when inherit one form from other using CV Pin
Shiv529-May-06 2:20
Shiv529-May-06 2:20 
QuestionEvent Initialize Pin
JacquesDP29-May-06 2:06
JacquesDP29-May-06 2:06 
AnswerRe: Event Initialize Pin
stancrm29-May-06 2:39
stancrm29-May-06 2:39 
GeneralRe: Event Initialize Pin
JacquesDP29-May-06 3:00
JacquesDP29-May-06 3:00 
QuestionMemory allocation help Pin
eric_tran29-May-06 1:16
eric_tran29-May-06 1:16 
AnswerRe: Memory allocation help [modified] Pin
Guffa29-May-06 3:31
Guffa29-May-06 3:31 
GeneralRe: Memory allocation help [modified] Pin
eric_tran29-May-06 3:44
eric_tran29-May-06 3:44 
AnswerRe: Memory allocation help [modified] Pin
Guffa29-May-06 5:17
Guffa29-May-06 5:17 
As I said, the .NET heap doesn't work that way. There are no methods to allocate memory on the heap.

You can create an object that contains the amount of data you need, but you can't safely access it using pointers without using the fixed keywork to pin the object in memory.

Freeing objects in the heap is handled by the garbage collector. When you don't have any references to the object any more, it's up for garbage collection, and will eventually be collected.


---
b { font-weight: normal; }

GeneralRe: Memory allocation help [modified] Pin
eric_tran29-May-06 5:24
eric_tran29-May-06 5:24 
GeneralRe: Memory allocation help Pin
S. Senthil Kumar29-May-06 19:39
S. Senthil Kumar29-May-06 19:39 
GeneralRe: Memory allocation help Pin
Guffa29-May-06 22:49
Guffa29-May-06 22:49 
GeneralRe: Memory allocation help Pin
S. Senthil Kumar30-May-06 1:12
S. Senthil Kumar30-May-06 1:12 
Questioncommad Promt problem[modified] Pin
Support12329-May-06 1:05
Support12329-May-06 1:05 
AnswerRe: hi all Pin
Support12329-May-06 1:18
Support12329-May-06 1:18 
GeneralRe: hi all Pin
lmoelleb29-May-06 1:30
lmoelleb29-May-06 1:30 

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.