AutoRun.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. // AutoRun.h : main header file for the AutoRun application
  2. //
  3. #if !defined(AFX_AutoRun_H__FBF15977_C202_4736_B4E2_7A68381C344E__INCLUDED_)
  4. #define AFX_AutoRun_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 "AutoRunDlg.h"
  14. typedef struct
  15. {
  16. BOOL bsql;
  17. int server[50];
  18. int user[50];
  19. int psw[50];
  20. }DBSAVE;
  21. extern CString g_str;
  22. extern CString g_server2;
  23. extern BOOL EncryptFile2(BYTE *buffer, DWORD leng, PCHAR szPassword);
  24. extern CDatabase g_db;
  25. extern CString g_mainpath;
  26. extern CString g_server;
  27. extern CAutoRunDlg *g_pMainWnd;
  28. extern BOOL g_bSendOK;
  29. extern SENDHEAD g_sendhead;
  30. extern CStringArray g_serverarray;
  31. /////////////////////////////////////////////////////////////////////////////
  32. // CAutoRunApp:
  33. // See AutoRun.cpp for the implementation of this class
  34. //
  35. class CAutoRunApp : public CWinApp
  36. {
  37. public:
  38. CAutoRunApp();
  39. // Overrides
  40. // ClassWizard generated virtual function overrides
  41. //{{AFX_VIRTUAL(CAutoRunApp)
  42. public:
  43. virtual BOOL InitInstance();
  44. virtual int ExitInstance();
  45. //}}AFX_VIRTUAL
  46. // Implementation
  47. //{{AFX_MSG(CAutoRunApp)
  48. // NOTE - the ClassWizard will add and remove member functions here.
  49. // DO NOT EDIT what you see in these blocks of generated code !
  50. //}}AFX_MSG
  51. DECLARE_MESSAGE_MAP()
  52. private:
  53. BOOL m_bATLInited;
  54. private:
  55. // BOOL InitATL();
  56. };
  57. /////////////////////////////////////////////////////////////////////////////
  58. //{{AFX_INSERT_LOCATION}}
  59. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  60. #endif // !defined(AFX_AutoRun_H__FBF15977_C202_4736_B4E2_7A68381C344E__INCLUDED_)