Can anybody know how to get IDxxx? This way it is hard to extract birmap from EXE file. I want to have BMP as a data like this:

MyBitmap  db  "BM".82h,34h,01 .............   ; I don't want to have in resource

How to change offset to IDxx

    IDI_BITMAP      equ   offset MyBitmap     ; This is the question
    IDI_BITMAP      equ   100                 ; and not this! Our bitmap resource

    invoke    LoadBitmap, hInst, IDI_BITMAP1  ; Load the bitmap
    mov       hBitmap, eax                    ; save handle here
Thanks forge :confused:
Posted on 2001-02-16 21:03:00 by forge