Author Topic: BCXPP.DLL  (Read 1016 times)

jcfuller

  • Sr. Member
  • ****
  • Posts: 394
    • View Profile
BCXPP.DLL
« on: October 20, 2020, 12:00:08 PM »
Kevin,
  I have a working BCXPP.DLL but want to do some initializing where I need my own DLLMAIN.
The help file does not show the items you have in the default: MakeUCaseTbl() BCX_hInstance ...
Would you please elaborate on what is needed for DLLMain in  BCXPP.DLL.

Thank You,
  James

MrBcx

  • Administrator
  • Hero Member
  • *****
  • Posts: 1897
    • View Profile
Re: BCXPP.DLL
« Reply #1 on: October 20, 2020, 01:46:59 PM »
Nothing.  In other words, this:

  __declspec(dllexport) BOOL WINAPI DllMain (HINSTANCE hInst, DWORD Reason, LPVOID Reserved)
{
    switch (Reason)
    {
      case DLL_PROCESS_ATTACH:
        break;
      case DLL_PROCESS_DETACH:
        break;
      case DLL_THREAD_ATTACH:
        break;
      case DLL_THREAD_DETACH:
        break;
     }
   return TRUE;
  }


Of course, whatever pre-processing you do will dictate what hoops you need to jump through.