TestConnIP.h 1.8 KB

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