]> git.sesse.net Git - vlc/blobdiff - projects/activex/plugin.cpp
activex: it sounds like latest windres no longer supports resource by name, use integ...
[vlc] / projects / activex / plugin.cpp
index e5ce069398a8391eb6370a45fbaf152276bf00a3..e234c67fc17b161d67b229e2fe19e45da6b70957 100644 (file)
@@ -106,7 +106,7 @@ VLCPluginClass::VLCPluginClass(LONG *p_class_ref, HINSTANCE hInstance, REFCLSID
         _inplace_wndclass_atom = 0;
     }
 
-    HBITMAP hbitmap = (HBITMAP)LoadImage(getHInstance(), TEXT("INPLACE-PICT"), IMAGE_BITMAP, 0, 0, LR_DEFAULTCOLOR);
+    HBITMAP hbitmap = (HBITMAP)LoadImage(getHInstance(), MAKEINTRESOURCE(1), IMAGE_BITMAP, 0, 0, LR_DEFAULTCOLOR);
     if( NULL != hbitmap )
     {
         PICTDESC pictDesc;
@@ -433,7 +433,7 @@ HRESULT VLCPlugin::getVLC(libvlc_instance_t** pp_libvlc)
         /*
         ** default initialization options
         */
-        char *ppsz_argv[32] = { "vlc" };
+        const char *ppsz_argv[32] = { "vlc" };
         int   ppsz_argc = 1;
 
         char p_progpath[MAX_PATH];