Browse Source

activex: oops, used duplicate id for BITMAP resource

pull/2/head
Damien Fouilleul 19 years ago
parent
commit
d47037fef0
  1. 2
      projects/activex/axvlc_rc.rc
  2. 2
      projects/activex/plugin.cpp

2
projects/activex/axvlc_rc.rc

@ -32,7 +32,7 @@ BEGIN
END
END
1 BITMAP DISCARDABLE "inplace.bmp"
2 BITMAP DISCARDABLE "inplace.bmp"
1 TYPELIB "axvlc.tlb"

2
projects/activex/plugin.cpp

@ -106,7 +106,7 @@ VLCPluginClass::VLCPluginClass(LONG *p_class_ref, HINSTANCE hInstance, REFCLSID
_inplace_wndclass_atom = 0;
}
HBITMAP hbitmap = (HBITMAP)LoadImage(getHInstance(), MAKEINTRESOURCE(1), IMAGE_BITMAP, 0, 0, LR_DEFAULTCOLOR);
HBITMAP hbitmap = (HBITMAP)LoadImage(getHInstance(), MAKEINTRESOURCE(2), IMAGE_BITMAP, 0, 0, LR_DEFAULTCOLOR);
if( NULL != hbitmap )
{
PICTDESC pictDesc;

Loading…
Cancel
Save