LiFan
2024-07-15 de9349d5502e956b09cebccb2c9dbb66f62a42f0
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;
   }
};