Does anyone know how to replace an icon with the UpdateResource API??
Razzle
Printable View
Does anyone know how to replace an icon with the UpdateResource API??
Razzle
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
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:
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.Code:' Class IMyInterface
Option Explicit
Function MyIntFunc(x As Integer) As Long
End Sub
Function MyStrFunc(y As String) As Long
End Sub
oooooookay.. damn, that's not good... thanks for you answer anyway :)