Re: memory mapped file example

2020-10-03 Thread John W. Krahn
On 2020-10-03 5:41 a.m., stefano cerbioni wrote: hi guys i try to read a memory mapped file created with c++ , this is a c++ code that i have [code] [snip code] [/code] how can read a memory mapped created ? thankz at all A memory mapped file should be just like any other file. Just

memory mapped file example

2020-10-03 Thread stefano cerbioni
hi guys i try to read a memory mapped file created with c++ , this is a c++ code that i have [code] #include #include #include #include #define BUF_SIZE 256 TCHAR szName[] = TEXT("MyFileMappingObject"); TCHAR szMsg[] = TEXT("Message from first process."); int _tmain() { HANDLE hMapFile;