text: /*
   *  Copyright (c) 2015 Primo Software. All Rights Reserved.
   *
   *  Use of this source code is governed by a BSD-style license
   *  that can be found in the LICENSE file in the root of the source
   *  tree.  
  */
  #pragma once
  
  inline std::wstring getExeDir()
  {
  	WCHAR exedir[MAX_PATH];
  	GetModuleFileName(NULL, exedir, MAX_PATH);
  	PathRemoveFileSpec(exedir);
  	return std::wstring(exedir);
  }
  
  inline void deleteFile(const wchar_t* file)
  {
  	DeleteFile(file);
  }
  