Click here to Skip to main content
16,005,181 members
Home / Discussions / C#
   

C#

 
GeneralJagged edges on custom shaped form Pin
Flack29-Mar-04 12:30
Flack29-Mar-04 12:30 
GeneralRe: Jagged edges on custom shaped form Pin
Roman Rodov29-Mar-04 12:36
Roman Rodov29-Mar-04 12:36 
GeneralRe: Jagged edges on custom shaped form Pin
Heath Stewart29-Mar-04 17:53
protectorHeath Stewart29-Mar-04 17:53 
GeneralDetecting Mouse Movement While Button Down Pin
Tristan Rhodes29-Mar-04 11:23
Tristan Rhodes29-Mar-04 11:23 
GeneralRe: Detecting Mouse Movement While Button Down Pin
Dave Kreskowiak29-Mar-04 11:29
mveDave Kreskowiak29-Mar-04 11:29 
GeneralRe: Detecting Mouse Movement While Button Down Pin
Heath Stewart29-Mar-04 17:42
protectorHeath Stewart29-Mar-04 17:42 
GeneralPointers Pin
Roger H Art29-Mar-04 9:32
sussRoger H Art29-Mar-04 9:32 
GeneralRe: Pointers Pin
Judah Gabriel Himango29-Mar-04 9:52
sponsorJudah Gabriel Himango29-Mar-04 9:52 
You can use something like

unsafe
{
byte* bytes = stackalloc byte[50];
}

The stackalloc keyword puts the bytes on the stack as opposed to the heap, and therefore not subject to garbage collection. If you don't use stackalloc, be sure to use the fixed keyword to pin the bytes to the heap (so that the GC won't clean them up).


---------------------------
He who knows that enough is enough will always have enough.

-Lao Tsu

GeneralRe: Pointers Pin
Roger H Art29-Mar-04 9:59
sussRoger H Art29-Mar-04 9:59 
GeneralRe: Pointers Pin
Judah Gabriel Himango29-Mar-04 11:23
sponsorJudah Gabriel Himango29-Mar-04 11:23 
GeneralRe: Pointers Pin
Roger H Art29-Mar-04 12:13
sussRoger H Art29-Mar-04 12:13 
GeneralRe: Pointers Pin
Roger H Art29-Mar-04 12:23
sussRoger H Art29-Mar-04 12:23 
GeneralRe: Pointers Pin
Andy Brummer29-Mar-04 16:09
sitebuilderAndy Brummer29-Mar-04 16:09 
GeneralRe: Pointers Pin
Heath Stewart29-Mar-04 17:39
protectorHeath Stewart29-Mar-04 17:39 
GeneralRe: Pointers Pin
Roger H Art30-Mar-04 1:18
sussRoger H Art30-Mar-04 1:18 
GeneralRe: Pointers Pin
Heath Stewart30-Mar-04 3:37
protectorHeath Stewart30-Mar-04 3:37 
GeneralRe: Pointers Pin
Roger H Art30-Mar-04 6:22
sussRoger H Art30-Mar-04 6:22 
GeneralRe: Pointers Pin
Heath Stewart30-Mar-04 8:27
protectorHeath Stewart30-Mar-04 8:27 
GeneralNeed Help with Writing a IO.Stream Pin
David Flores29-Mar-04 8:32
David Flores29-Mar-04 8:32 
GeneralRe: Need Help with Writing a IO.Stream Pin
Heath Stewart29-Mar-04 8:40
protectorHeath Stewart29-Mar-04 8:40 
GeneralAccess files in use Pin
Shaun Becker29-Mar-04 7:33
Shaun Becker29-Mar-04 7:33 
GeneralRe: Access files in use Pin
Heath Stewart29-Mar-04 8:23
protectorHeath Stewart29-Mar-04 8:23 
GeneralPolymorphism and types Pin
esuyer4saic29-Mar-04 7:30
esuyer4saic29-Mar-04 7:30 
GeneralRe: Polymorphism and types Pin
Heath Stewart29-Mar-04 8:18
protectorHeath Stewart29-Mar-04 8:18 
GeneralReporting Pin
rags29-Mar-04 6:35
rags29-Mar-04 6:35 

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.