Forum Replies Created
-
AuthorPosts
-
wzqiang1006Participant
Hi,
Thank you Bazis.BazisLib 2.5.2 worked good.The problem have solved.Thank you!wzqiang1006Participantyes,the exe is fixed,but the source code didn’t seems to update.
wzqiang1006ParticipantDo you seen this?Please give me more infomation.
wzqiang1006ParticipantI’m sorry to that.
You said the default BazisLib::DDK::File flags.I found the Constructor(c:OpenSourceBazisLibbzsddkfile.h).And I found C:OpenSourceBazisLibbzsddkdevice.cpp: File f(pLinkPath, FastFileFlags::OpenReadWrite, &st); But I don’t konw how to modify it.Can you tell me more how to modify it.Thank you very much.
_File(const FilePath &Path,
FileFlags::FileAccess Access = FileFlags::ReadAccess,
FileFlags::OpenMode OpenMode = FileFlags::OpenExisting,
FileFlags::ShareMode ShareMode = FileFlags::ShareRead,
FileFlags::FileAttribute Attributes = FileFlags::NormalFile,
ActionStatus *pStatus = NULL,
ULONG AdditionalFlags = kDefaultAdditionalFlags)
{
Initialize(Path, Access, OpenMode, ShareMode, Attributes, pStatus, AdditionalFlags, 0);
}_File(const FilePath &Path,
FastFileFlags::OpenMode Mode,
ActionStatus *pStatus = NULL,
ULONG AdditionalFlags = kDefaultAdditionalFlags,
unsigned AdditionalObjecAttributes = 0) //e.g. OBJ_FORCE_ACCESS_CHECK
{
if (!FileModeHelpers::IsValidFastOpenMode(Mode))
{
m_hFile = 0;
ASSIGN_STATUS(pStatus, InvalidParameter);
return;
}
Initialize(Path,
FileModeHelpers::AccessFromFastOpenMode(Mode),
FileModeHelpers::OpenModeFromFastOpenMode(Mode),
FileModeHelpers::ShareModeFromFastOpenMode(Mode),
FileModeHelpers::FileAttributeFromFastOpenMode(Mode),
pStatus,
AdditionalFlags,
AdditionalObjecAttributes);
}wzqiang1006ParticipantI used BazisLib-2.5.1.exe. But The problem also existed. I downloaded the lasted version one month ago. How can I check the flags.
Very anxious. Thank you very much bazis. -
AuthorPosts