Click here to Skip to main content
15,890,897 members
Home / Discussions / C#
   

C#

 
GeneralRe: How can I write string to a memory mapped file? Pin
Richard MacCutchan2-May-15 4:56
mveRichard MacCutchan2-May-15 4:56 
GeneralRe: How can I write string to a memory mapped file? Pin
Member 116587422-May-15 5:19
Member 116587422-May-15 5:19 
GeneralRe: How can I write string to a memory mapped file? Pin
Richard MacCutchan2-May-15 5:28
mveRichard MacCutchan2-May-15 5:28 
GeneralRe: How can I write string to a memory mapped file? Pin
OriginalGriff2-May-15 4:30
mveOriginalGriff2-May-15 4:30 
GeneralRe: How can I write string to a memory mapped file? Pin
Member 116587422-May-15 4:40
Member 116587422-May-15 4:40 
GeneralRe: How can I write string to a memory mapped file? Pin
OriginalGriff2-May-15 4:54
mveOriginalGriff2-May-15 4:54 
GeneralRe: How can I write string to a memory mapped file? Pin
Member 116587422-May-15 5:11
Member 116587422-May-15 5:11 
AnswerRe: How can I write string to a memory mapped file? Pin
Sascha Lefèvre2-May-15 5:25
professionalSascha Lefèvre2-May-15 5:25 
For writing data to an MMF that is more complex than a struct containing only value type members you would have to serialize that data into a byte array and then write that byte array to the MMF using MemoryMappedViewAccessor.WriteArray<T>[^]. In order to be able to read it back, you should also write the length of the byte-array to the MMF, probably directly before the start of the byte-array.
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson

QuestionHelp me, I need a simple program examples. Pin
Member 114460801-May-15 20:55
Member 114460801-May-15 20:55 
AnswerRe: Help me, I need a simple program examples. Pin
OriginalGriff1-May-15 21:16
mveOriginalGriff1-May-15 21:16 
QuestionProblem in killing both Application.exe and launched process Extract.exe from Application.exe in multiple instances environment Pin
shivmymail1-May-15 19:02
shivmymail1-May-15 19:02 
AnswerRe: Problem in killing both Application.exe and launched process Extract.exe from Application.exe in multiple instances environment Pin
OriginalGriff1-May-15 19:34
mveOriginalGriff1-May-15 19:34 
GeneralRe: Problem in killing both Application.exe and launched process Extract.exe from Application.exe in multiple instances environment Pin
shivmymail1-May-15 19:40
shivmymail1-May-15 19:40 
GeneralRe: Problem in killing both Application.exe and launched process Extract.exe from Application.exe in multiple instances environment Pin
OriginalGriff1-May-15 19:44
mveOriginalGriff1-May-15 19:44 
GeneralRe: Problem in killing both Application.exe and launched process Extract.exe from Application.exe in multiple instances environment Pin
shivmymail1-May-15 20:05
shivmymail1-May-15 20:05 
Questionhow can reading bytes Pin
hasan hadi1-May-15 3:42
hasan hadi1-May-15 3:42 
AnswerRe: how can reading bytes Pin
Eddy Vluggen1-May-15 4:25
professionalEddy Vluggen1-May-15 4:25 
AnswerRe: how can reading bytes Pin
OriginalGriff1-May-15 4:34
mveOriginalGriff1-May-15 4:34 
GeneralRe: how can reading bytes Pin
hasan hadi1-May-15 4:54
hasan hadi1-May-15 4:54 
GeneralRe: how can reading bytes Pin
OriginalGriff1-May-15 5:07
mveOriginalGriff1-May-15 5:07 
GeneralRe: how can reading bytes Pin
hasan hadi1-May-15 5:53
hasan hadi1-May-15 5:53 
GeneralRe: how can reading bytes Pin
OriginalGriff1-May-15 6:08
mveOriginalGriff1-May-15 6:08 
GeneralRe: how can reading bytes PinPopular
Eddy Vluggen1-May-15 7:35
professionalEddy Vluggen1-May-15 7:35 
GeneralRe: how can reading bytes Pin
hasan hadi1-May-15 7:41
hasan hadi1-May-15 7:41 
GeneralRe: how can reading bytes Pin
Eddy Vluggen1-May-15 7:50
professionalEddy Vluggen1-May-15 7:50 

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.