Click here to Skip to main content
15,886,769 members
Home / Discussions / C#
   

C#

 
AnswerRe: desktop sharing Pin
RexGrammer9-Jan-12 1:56
RexGrammer9-Jan-12 1:56 
AnswerRe: desktop sharing Pin
Ravi Bhavnani9-Jan-12 2:06
professionalRavi Bhavnani9-Jan-12 2:06 
QuestionReading an image from an array of data on disk Pin
Subterranean8-Jan-12 1:36
Subterranean8-Jan-12 1:36 
AnswerRe: Reading an image from an array of data on disk Pin
Luc Pattyn8-Jan-12 1:46
sitebuilderLuc Pattyn8-Jan-12 1:46 
GeneralRe: Reading an image from an array of data on disk Pin
harold aptroot8-Jan-12 4:06
harold aptroot8-Jan-12 4:06 
AnswerRe: Reading an image from an array of data on disk Pin
Luc Pattyn8-Jan-12 4:46
sitebuilderLuc Pattyn8-Jan-12 4:46 
GeneralRe: Reading an image from an array of data on disk Pin
harold aptroot8-Jan-12 4:55
harold aptroot8-Jan-12 4:55 
AnswerRe: Reading an image from an array of data on disk Pin
Luc Pattyn8-Jan-12 5:08
sitebuilderLuc Pattyn8-Jan-12 5:08 
Nothing special here, you're passing a pointer into that constructor, hence the data isn't managed by .NET; it is inherently unsafe, just like passing pointers to native code is.

And it is somewhat related to Image.FromFile locking the file for as long as the image lives, which is troublesome as it isn't documented well and the code itself does not provide a clue. The same copy-to-a-second-bitmap trick solves that one too of course.

Smile | :)
Luc Pattyn [My Articles] Nil Volentibus Arduum

GeneralRe: Reading an image from an array of data on disk Pin
harold aptroot8-Jan-12 5:22
harold aptroot8-Jan-12 5:22 
GeneralRe: Reading an image from an array of data on disk Pin
BobJanova9-Jan-12 0:59
BobJanova9-Jan-12 0:59 
QuestionSearch engine for LAN Pin
archies_gall8-Jan-12 0:50
archies_gall8-Jan-12 0:50 
AnswerRe: Search engine for LAN Pin
Richard MacCutchan8-Jan-12 1:16
mveRichard MacCutchan8-Jan-12 1:16 
GeneralRe: Search engine for LAN Pin
archies_gall11-Jan-12 2:04
archies_gall11-Jan-12 2:04 
AnswerRe: Search engine for LAN Pin
Abhinav S8-Jan-12 2:50
Abhinav S8-Jan-12 2:50 
QuestionSearch text in richtextbox wpf c# Pin
moi4117-Jan-12 6:02
moi4117-Jan-12 6:02 
AnswerRe: Search text in richtextbox wpf c# Pin
OriginalGriff7-Jan-12 10:11
mveOriginalGriff7-Jan-12 10:11 
GeneralRe: Search text in richtextbox wpf c# Pin
moi4118-Jan-12 23:09
moi4118-Jan-12 23:09 
Questionremote desktop using C# Pin
ruhel azam6-Jan-12 19:56
ruhel azam6-Jan-12 19:56 
AnswerRe: remote desktop using C# PinPopular
Pete O'Hanlon6-Jan-12 23:31
mvePete O'Hanlon6-Jan-12 23:31 
AnswerRe: remote desktop using C# Pin
Abhinav S8-Jan-12 3:01
Abhinav S8-Jan-12 3:01 
QuestionHow to make auto-generated unit tests fail initially? Pin
Jun Du6-Jan-12 10:39
Jun Du6-Jan-12 10:39 
AnswerRe: How to make auto-generated unit tests fail initially? Pin
Not Active6-Jan-12 13:47
mentorNot Active6-Jan-12 13:47 
GeneralRe: How to make auto-generated unit tests fail initially? Pin
OriginalGriff6-Jan-12 23:21
mveOriginalGriff6-Jan-12 23:21 
GeneralRe: How to make auto-generated unit tests fail initially? Pin
Jun Du7-Jan-12 5:29
Jun Du7-Jan-12 5:29 
GeneralRe: How to make auto-generated unit tests fail initially? Pin
Not Active7-Jan-12 5:44
mentorNot Active7-Jan-12 5:44 

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.