C# - UpdateResource - To Remove A Resource

Posted by Luke on Stack Overflow See other posts from Stack Overflow or by Luke
Published on 2009-10-15T03:15:10Z Indexed on 2010/06/07 23:02 UTC
Read the original article Hit count: 289

Filed under:
|
|

I am able to successfully add a resource to a file using UpdateResource and then remove it using: UpdateResource(HANDLE, "TYPE", "NUMER", 1033, IntPtr.Zero, 0); When I add a resource to the file it will add another even though there is an existing resource exactly the same, also I cannot remove any existing resources. When I try to remove an existing resource using that line I get the error ERROR_INVALID_PARAMETER.

Any ideas?

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET