SysLib.h 944 B

1234567891011121314151617181920212223242526272829
  1. #ifndef __SYSLIB_H
  2. #define __SYSLIB_H
  3. #include "const.h"
  4. //#include "DataGrid.h"
  5. extern int GetSysData();
  6. extern int GetResourceString();
  7. extern VOID TerminateLastProcess();
  8. extern int Handle_DeleteTrayNullIcon( BOOL &bNullBeDel );
  9. extern BOOL MByteToWChar(LPCSTR lpcszStr, LPWSTR lpwszStr, DWORD dwSize);
  10. extern BOOL WCharToMByte(LPCWSTR lpcwszStr, LPSTR lpszStr, DWORD dwSize);
  11. extern CString InterceptString(int qlen, CString strSource);
  12. extern BOOL BrowseForFolder(CString & sFolderPath, CString sTitle);
  13. extern void TimeTicksToInt(CString strSrc, unsigned long &nDest);
  14. extern BOOL MakeSurePathExists( CString &Path,
  15. bool FilenameIncluded);
  16. ///Ŀ¼ÊÇ·ñ´æÔڵļì²é£º
  17. extern bool CheckFolderExist(CString strPath);
  18. extern BOOL RegisterOCX( CString sOcxPath );
  19. extern BOOL UnRegisterOCX( CString sOcxPath );
  20. extern WCHAR* StrToWchar(CString strSrc);
  21. extern bool g_FindProcess( CString sAppName );
  22. bool IsExistExcelDriver();
  23. #endif