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

C#

 
AnswerRe: Mobile programming Pin
mr.mohsen9-Aug-08 6:09
mr.mohsen9-Aug-08 6:09 
QuestionOnchange event is not triggering events on text elements in c# Pin
Nupur2069-Aug-08 3:03
Nupur2069-Aug-08 3:03 
QuestionHow can I copy a block of memory? Pin
CopperCircle9-Aug-08 2:22
CopperCircle9-Aug-08 2:22 
AnswerRe: How can I copy a block of memory? Pin
User 66589-Aug-08 2:29
User 66589-Aug-08 2:29 
GeneralRe: How can I copy a block of memory? Pin
CopperCircle9-Aug-08 2:39
CopperCircle9-Aug-08 2:39 
GeneralRe: How can I copy a block of memory? Pin
Guffa9-Aug-08 7:53
Guffa9-Aug-08 7:53 
GeneralRe: How can I copy a block of memory? Pin
CopperCircle9-Aug-08 11:47
CopperCircle9-Aug-08 11:47 
AnswerRe: How can I copy a block of memory? Pin
Guffa9-Aug-08 22:17
Guffa9-Aug-08 22:17 
Use Marshal.Copy instead of Marshal.ReadByte. Now you are making a method call for every byte that you copy, that is bound to be slow.

Why are you converting the pointer to an IntPtr value, then back to a pointer? Just copy the pointer:
fixed (byte* pTmp = bytes) {
   byte* p2 = pTmp;
}


Despite everything, the person most likely to be fooling you next is yourself.

GeneralRe: How can I copy a block of memory? Pin
CopperCircle10-Aug-08 0:21
CopperCircle10-Aug-08 0:21 
AnswerRe: How can I copy a block of memory? Pin
#realJSOP10-Aug-08 1:19
mve#realJSOP10-Aug-08 1:19 
AnswerRe: How can I copy a block of memory? Pin
CopperCircle10-Aug-08 2:32
CopperCircle10-Aug-08 2:32 
Questionsend mail using C# Pin
sobhaniir9-Aug-08 0:41
sobhaniir9-Aug-08 0:41 
AnswerRe: send mail using C# PinPopular
Guffa9-Aug-08 0:50
Guffa9-Aug-08 0:50 
RantRe: send mail using C# Pin
User 66589-Aug-08 1:18
User 66589-Aug-08 1:18 
GeneralRe: send mail using C# Pin
Paul Conrad9-Aug-08 6:15
professionalPaul Conrad9-Aug-08 6:15 
GeneralRe: send mail using C# Pin
User 66589-Aug-08 8:24
User 66589-Aug-08 8:24 
GeneralRe: send mail using C# Pin
Paul Conrad9-Aug-08 8:49
professionalPaul Conrad9-Aug-08 8:49 
GeneralRe: send mail using C# Pin
Guffa9-Aug-08 10:10
Guffa9-Aug-08 10:10 
AnswerRe: send mail using C# Pin
Wendelius9-Aug-08 2:35
mentorWendelius9-Aug-08 2:35 
AnswerRe: send mail using C# Pin
mr.mohsen9-Aug-08 6:19
mr.mohsen9-Aug-08 6:19 
QuestionMonth Calender Pin
mrcooll8-Aug-08 23:17
mrcooll8-Aug-08 23:17 
QuestionRead image file Pin
krinaljariwala8-Aug-08 23:15
krinaljariwala8-Aug-08 23:15 
AnswerRe: Read image file Pin
User 66589-Aug-08 0:19
User 66589-Aug-08 0:19 
AnswerRe: Read image file Pin
#realJSOP10-Aug-08 1:20
mve#realJSOP10-Aug-08 1:20 
Questionwindows application deployment error Pin
vishnukamath8-Aug-08 20:46
vishnukamath8-Aug-08 20:46 

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.