Initial Commit
This commit is contained in:
15
common/VXDCTRL.CPP
Normal file
15
common/VXDCTRL.CPP
Normal file
@@ -0,0 +1,15 @@
|
||||
#include <common/vxdctrl.hpp>
|
||||
#include <common/version.hpp>
|
||||
|
||||
VxDControl::VxDControl(const String &pathFileName)
|
||||
{
|
||||
WinVersionInfo versionInfo;
|
||||
if(versionInfo.isWinNT())open(pathFileName,FileHandle::ReadWrite,FileHandle::ShareReadWrite,FileHandle::Open,FileHandle::Normal);
|
||||
else open(pathFileName,FileHandle::Query,FileHandle::ShareNone,FileHandle::Create,FileHandle::FlagDeleteOnClose);
|
||||
}
|
||||
|
||||
VxDControl::~VxDControl()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user