Re: [capnproto] Re: Premature EOF error with List of List of struct implementation under VS2017/x64

2021-02-21 Thread 'Kenton Varda' via Cap'n Proto
Hi Yojiro, It would be best if you could reduce the problem to a minimal self-contained test case. If your program is multiple files then it is probably too big for us to look at. All I really need is for you to add a main() function to the code you sent before, so I can see exactly the code that

Re: [capnproto] Re: Premature EOF error with List of List of struct implementation under VS2017/x64

2021-02-21 Thread yojiro....@gmail.com
Hi Kenton I prepared my source for sending to you. Can I send it to your email address? or reply to this group with it as attachment? Thank you. 2021年2月21日日曜日 20:09:41 UTC+9 yojiro@gmail.com: > Hi Kenton, > > Glad to see your reply. > > Yes I am aware of open mode. I do, for writing, > r

Re: [capnproto] Re: Premature EOF error with List of List of struct implementation under VS2017/x64

2021-02-21 Thread yojiro....@gmail.com
Hi Kenton, Glad to see your reply. Yes I am aware of open mode. I do, for writing, return _sopen_s(pfd, fpath.c_str(), (_O_BINARY | _O_CREAT | _O_RDWR | _O_TRUNC), _SH_DENYNO, (_S_IREAD | _S_IWRITE)); and for reading, return _sopen_s(pfd, fpath.c_str(), (_O_BINARY | _O_RDWR), (_SH_DENYNO), (_S