Changeset 3fcebdaae2f7e16ef3fe5462f46f9b1ff7a4bfd6

Show
Ignore:
Timestamp:
18/02/08 12:27:52 (8 months ago)
Author:
Damien Fouilleul <damienf@videolan.org>
git-committer:
Damien Fouilleul <damienf@videolan.org> 1203334072 +0000
git-parent:

[390b9dcb7e7d268dd5d149feebc47b24efa281fc]

git-author:
Damien Fouilleul <damienf@videolan.org> 1203334072 +0000
Message:

activex: it sounds like latest windres no longer supports resource by name, use integer instead

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • projects/activex/axvlc_rc.rc

    r2e888fd r3fcebda  
    3333END 
    3434 
    35 INPLACE-PICT BITMAP DISCARDABLE "inplace.bmp" 
     351 BITMAP DISCARDABLE "inplace.bmp" 
    3636 
    37371 TYPELIB "axvlc.tlb" 
  • projects/activex/plugin.cpp

    r2e888fd r3fcebda  
    107107    } 
    108108 
    109     HBITMAP hbitmap = (HBITMAP)LoadImage(getHInstance(), TEXT("INPLACE-PICT"), IMAGE_BITMAP, 0, 0, LR_DEFAULTCOLOR); 
     109    HBITMAP hbitmap = (HBITMAP)LoadImage(getHInstance(), MAKEINTRESOURCE(1), IMAGE_BITMAP, 0, 0, LR_DEFAULTCOLOR); 
    110110    if( NULL != hbitmap ) 
    111111    { 
     
    434434        ** default initialization options 
    435435        */ 
    436         char *ppsz_argv[32] = { "vlc" }; 
     436        const char *ppsz_argv[32] = { "vlc" }; 
    437437        int   ppsz_argc = 1; 
    438438