LiFan
2024-07-17 ba7fc2ae2efad6a4f9456d390893d5cf0758f8d2
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;
   }
};