LiFan
2024-07-16 a24a99da3f57ca960e0bde4df1cb4799e6254b30
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;
   }
};