AutoRun3.h 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. // AutoRun3.h : main header file for the AutoRun3 application
  2. //
  3. #if !defined(AFX_AutoRun3_H__FBF15977_C202_4736_B4E2_7A68381C344E__INCLUDED_)
  4. #define AFX_AutoRun3_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 "AutoRun3Dlg.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 CAutoRun3Dlg *g_pMainWnd;
  28. extern BOOL g_bSendOK;
  29. extern SENDHEAD g_sendhead;
  30. /////////////////////////////////////////////////////////////////////////////
  31. // CAutoRun3App:
  32. // See AutoRun3.cpp for the implementation of this class
  33. //
  34. class CAutoRun3App : public CWinApp
  35. {
  36. public:
  37. CAutoRun3App();
  38. // Overrides
  39. // ClassWizard generated virtual function overrides
  40. //{{AFX_VIRTUAL(CAutoRun3App)
  41. public:
  42. virtual BOOL InitInstance();
  43. virtual int ExitInstance();
  44. //}}AFX_VIRTUAL
  45. // Implementation
  46. //{{AFX_MSG(CAutoRun3App)
  47. // NOTE - the ClassWizard will add and remove member functions here.
  48. // DO NOT EDIT what you see in these blocks of generated code !
  49. //}}AFX_MSG
  50. DECLARE_MESSAGE_MAP()
  51. private:
  52. BOOL m_bATLInited;
  53. private:
  54. // BOOL InitATL();
  55. };
  56. /////////////////////////////////////////////////////////////////////////////
  57. //{{AFX_INSERT_LOCATION}}
  58. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  59. #endif // !defined(AFX_AutoRun3_H__FBF15977_C202_4736_B4E2_7A68381C344E__INCLUDED_)