DataSyncSend.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. // DataSyncSend.h : main header file for the DataSyncSend application
  2. //
  3. #if !defined(AFX_DataSyncSend_H__FBF15977_C202_4736_B4E2_7A68381C344E__INCLUDED_)
  4. #define AFX_DataSyncSend_H__FBF15977_C202_4736_B4E2_7A68381C344E__INCLUDED_
  5. #if _MSC_VER > 1000
  6. #pragma once
  7. #endif // _MSC_VER > 1000
  8. #ifndef __AFXWIN_H__
  9. #error include 'stdafx.h' before including this file for PCH
  10. #endif
  11. #include "resource.h" // main symbols
  12. #include "./include/sendhead.h"
  13. #include "SoftKey.h"
  14. #include "DataSyncSendDlg.h"
  15. #include "MyLock.h"
  16. typedef struct
  17. {
  18. BOOL bsql;
  19. int server[50];
  20. int user[50];
  21. int psw[50];
  22. }DBSAVE;
  23. extern CString g_str;
  24. extern CString g_server2;
  25. extern BOOL EncryptFile2(BYTE *buffer, DWORD leng, PCHAR szPassword);
  26. extern CDatabase g_db;
  27. extern CString g_mainpath;
  28. extern CString g_server;
  29. extern CDataSyncSendDlg *g_pMainWnd;
  30. extern BOOL g_bSendOK;
  31. extern SENDHEAD g_sendhead;
  32. extern CString g_sbranchname;
  33. extern CString g_sdomain;
  34. /////////////////////////////////////////////////////////////////////////////
  35. // CDataSyncSendApp:
  36. // See DataSyncSend.cpp for the implementation of this class
  37. //
  38. class CDataSyncSendApp : public CWinApp
  39. {
  40. public:
  41. CDataSyncSendApp();
  42. // Overrides
  43. // ClassWizard generated virtual function overrides
  44. //{{AFX_VIRTUAL(CDataSyncSendApp)
  45. public:
  46. virtual BOOL InitInstance();
  47. virtual int ExitInstance();
  48. //}}AFX_VIRTUAL
  49. // Implementation
  50. //{{AFX_MSG(CDataSyncSendApp)
  51. // NOTE - the ClassWizard will add and remove member functions here.
  52. // DO NOT EDIT what you see in these blocks of generated code !
  53. //}}AFX_MSG
  54. DECLARE_MESSAGE_MAP()
  55. private:
  56. BOOL m_bATLInited;
  57. private:
  58. // BOOL InitATL();
  59. };
  60. /////////////////////////////////////////////////////////////////////////////
  61. //{{AFX_INSERT_LOCATION}}
  62. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  63. #endif // !defined(AFX_DataSyncSend_H__FBF15977_C202_4736_B4E2_7A68381C344E__INCLUDED_)