LiFan
2024-07-10 2a1d4fcebeca6c3b7f8af0c13463486fb30a78e1
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;
   }
};