Click here to Skip to main content
15,881,715 members
Home / Discussions / C#
   

C#

 
Generalcustomizing file open dialog... Pin
waleed riaz3-Nov-03 4:48
waleed riaz3-Nov-03 4:48 
GeneralRe: customizing file open dialog... Pin
Judah Gabriel Himango3-Nov-03 8:09
sponsorJudah Gabriel Himango3-Nov-03 8:09 
GeneralRe: customizing file open dialog... Pin
Alvaro Mendez3-Nov-03 9:07
Alvaro Mendez3-Nov-03 9:07 
GeneralRe: customizing file open dialog... Pin
waleed riaz3-Nov-03 18:15
waleed riaz3-Nov-03 18:15 
GeneralRe: customizing file open dialog... Pin
J. Dunlap3-Nov-03 18:50
J. Dunlap3-Nov-03 18:50 
GeneralRe: customizing file open dialog... Pin
waleed riaz3-Nov-03 19:03
waleed riaz3-Nov-03 19:03 
GeneralRe: customizing file open dialog... Pin
J. Dunlap3-Nov-03 19:44
J. Dunlap3-Nov-03 19:44 
GeneralCleaning up Arrays in C# Pin
Paul Evans3-Nov-03 3:29
Paul Evans3-Nov-03 3:29 
Hi all,

My application isn't cleaning up when it's supposed too! I'm creating lots of byte arrays to store images etc before indexing them in a resource manager, but once in the system despite the importer no longer referencing it it won't clean up!

I want to try to avoid unsafe code, although being a C++ developer at heart it is very tempting to just screw this garabage collection stuff and do it myself with good old fashioned new & delete type stuff!

Is there a sure-fire C# "safe" way of doing a garabage collection on a byte array, forcing it to free memory on the spot?

Cheers,

Paul

/**********************************
Paul Evans, Dorset, UK.
Personal Homepage "EnjoySoftware" @
http://www.enjoysoftware.co.uk/
**********************************/

GeneralRe: Cleaning up Arrays in C# Pin
Nick Parker3-Nov-03 3:47
protectorNick Parker3-Nov-03 3:47 
GeneralRe: Cleaning up Arrays in C# Pin
Paul Evans3-Nov-03 3:50
Paul Evans3-Nov-03 3:50 
GeneralRe: Cleaning up Arrays in C# Pin
Jeff Varszegi3-Nov-03 5:42
professionalJeff Varszegi3-Nov-03 5:42 
GeneralRe: Cleaning up Arrays in C# Pin
Nick Parker3-Nov-03 5:55
protectorNick Parker3-Nov-03 5:55 
GeneralRe: Cleaning up Arrays in C# Pin
Jeff Varszegi3-Nov-03 6:11
professionalJeff Varszegi3-Nov-03 6:11 
GeneralRe: Cleaning up Arrays in C# Pin
Paul Evans3-Nov-03 6:09
Paul Evans3-Nov-03 6:09 
GeneralRe: Cleaning up Arrays in C# Pin
Eric Gunnerson (msft)3-Nov-03 10:10
Eric Gunnerson (msft)3-Nov-03 10:10 
GeneralRe: Cleaning up Arrays in C# Pin
Paul Evans3-Nov-03 22:48
Paul Evans3-Nov-03 22:48 
GeneralRe: Cleaning up Arrays in C# Pin
Jeff Varszegi3-Nov-03 5:47
professionalJeff Varszegi3-Nov-03 5:47 
GeneralRe: Cleaning up Arrays in C# Pin
Paul Evans3-Nov-03 6:11
Paul Evans3-Nov-03 6:11 
GeneralRe: Cleaning up Arrays in C# Pin
MrEyes4-Nov-03 5:35
MrEyes4-Nov-03 5:35 
GeneralRe: Cleaning up Arrays in C# Pin
Paul Evans5-Nov-03 4:50
Paul Evans5-Nov-03 4:50 
GeneralDynamic / Run-time casting Pin
3-Nov-03 3:12
suss3-Nov-03 3:12 
GeneralRe: Dynamic / Run-time casting Pin
Paul Evans3-Nov-03 3:34
Paul Evans3-Nov-03 3:34 
GeneralRe: Dynamic / Run-time casting Pin
in10se3-Nov-03 4:24
in10se3-Nov-03 4:24 
GeneralRe: Dynamic / Run-time casting Pin
CBoland3-Nov-03 9:00
CBoland3-Nov-03 9:00 
GeneralRe: Dynamic / Run-time casting Pin
in10se3-Nov-03 10:56
in10se3-Nov-03 10:56 

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.