LiFan
2024-07-18 a5289d51bd57a99a2377c5590bc61cb7a42e61d4
jrj/xframe/wobject/xobject.hpp
@@ -5,11 +5,4 @@
class xobject
{
public:
   void * GetFuncPtr(const wchar_t* dll, const char * name)
   {
      void * fnAttachEvent = nullptr;
      void * hModule = LoadLibraryW(dll);
      if(hModule)fnAttachEvent = GetProcAddressW(hModule,name);
      return fnAttachEvent;
   }
};