home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 10 / ioProg_10.iso / soft / sdk20 / jsdk05.cab / Samples / Debugger / Java Debugger / Helpers / JDbgHlpr / JDbgHlpr.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1997-09-25  |  672 b   |  38 lines

  1. /*
  2.  * jdbghlpr.cpp - Main module.
  3.  *
  4.  * (C) Copyright 1996 Microsoft Corporation
  5.  */
  6.  
  7.  
  8. /* Headers
  9.  **********/
  10.  
  11. #include "project.hpp"
  12. #pragma hdrstop
  13.  
  14.  
  15. /****************************** Public Functions *****************************/
  16.  
  17.  
  18. #pragma warning(disable:4100)    // "unreferenced formal parameter" warning
  19.  
  20. BOOL APIENTRY DllMain(HINSTANCE hDLL, DWORD dwReason, PVOID pvReserved)
  21. {
  22.     switch(dwReason)
  23.     {
  24.         case DLL_PROCESS_ATTACH:
  25.             DisableThreadLibraryCalls(hDLL);
  26.             break;
  27.     }
  28.     
  29.     return(TRUE);
  30. }
  31.  
  32. #pragma warning(default:4100)     // "unreferenced formal parameter" warning
  33.  
  34. DWORD __cdecl RNIGetCompatibleVersion()
  35. {
  36.     return RNIVER;
  37. }
  38.