诸暨麻将添加redis
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

30 lines
770 B

  1. #include "Stdafx.h"
  2. #include "AfxDLLx.h"
  3. //////////////////////////////////////////////////////////////////////////
  4. //¾²Ì¬±äÁ¿
  5. static AFX_EXTENSION_MODULE AndroidServiceDLL={NULL,NULL};
  6. //////////////////////////////////////////////////////////////////////////
  7. //DLL Ö÷º¯Êý
  8. extern "C" INT APIENTRY DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)
  9. {
  10. UNREFERENCED_PARAMETER(lpReserved);
  11. if (dwReason==DLL_PROCESS_ATTACH)
  12. {
  13. if (!AfxInitExtensionModule(AndroidServiceDLL, hInstance)) return 0;
  14. new CDynLinkLibrary(AndroidServiceDLL);
  15. }
  16. else if (dwReason==DLL_PROCESS_DETACH)
  17. {
  18. AfxTermExtensionModule(AndroidServiceDLL);
  19. }
  20. return 1;
  21. }
  22. //////////////////////////////////////////////////////////////////////////