Results 1 to 4 of 4

Thread: UpdateResource API

  1. #1

    Thread Starter
    Addicted Member Razzle's Avatar
    Join Date
    Jan 2000
    Location
    Berlin, Germany
    Posts
    161

    Question

    Does anyone know how to replace an icon with the UpdateResource API??

    Razzle

    Razzle
    ICQ#: 31429438
    What is the difference between a raven?
    -The legs. The length is equal, especially the right one.

  2. #2

    Thread Starter
    Addicted Member Razzle's Avatar
    Join Date
    Jan 2000
    Location
    Berlin, Germany
    Posts
    161
    yes, that's why the API wants to know the size of the NEW resource!!!
    The UpdateResource Api IS implemented, i've even looked it up with dependency walker
    Razzle
    ICQ#: 31429438
    What is the difference between a raven?
    -The legs. The length is equal, especially the right one.

  3. #3
    Lively Member
    Join Date
    Apr 2000
    Location
    Hell
    Posts
    89
    Only in NT is it implemented.

    If you look using 'Dependency Walker' (or EXEInfo32, which is my own program I mentioned earlier), you can only see that the function is there. It's something akin to an interface class:

    Code:
    ' Class IMyInterface
    Option Explicit
    
    Function MyIntFunc(x As Integer) As Long
    End Sub
    
    Function MyStrFunc(y As String) As Long
    End Sub
    The function names are there...but they don't DO anything, they just return 0. Just like all but about ten of the Unicode functions in user32.dll. They point to dummy functions that do nothing but return 0.
    - Steve

    Real programmers use COPY CON PROGRAM.EXE

  4. #4

    Thread Starter
    Addicted Member Razzle's Avatar
    Join Date
    Jan 2000
    Location
    Berlin, Germany
    Posts
    161
    oooooookay.. damn, that's not good... thanks for you answer anyway
    Razzle
    ICQ#: 31429438
    What is the difference between a raven?
    -The legs. The length is equal, especially the right one.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width