いつもお世話になってます。
上記の件で質問です。
Dim br As New System.IO.FileStream(2GFilePath, IO.FileMode.Open, IO.FileAccess.Read)
2GFilePath部に2Gを超えるファイルを指定すると、
別のプロセスで使用されているため、プロセスはファイル 2GFilePath にアクセスできません。
場所 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
場所 System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
場所 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
場所 mdlClientInfo.GetRoServerList(String fFullPath, List1& ServerIpList, List
1& ServerNameList)
と表示されます。
FileStreamの仕様で2G以上のファイルを開く場合、エラーが発生してしまうようです。
解決策があれば教えてほしいです。

回答1件
あなたの回答
tips
プレビュー