How to modyfy resource in a DLL from this DLL?
Posted
by
CichyK24
on Stack Overflow
See other posts from Stack Overflow
or by CichyK24
Published on 2011-02-21T11:36:36Z
Indexed on
2011/02/25
15:25 UTC
Read the original article
Hit count: 386
I'm writing an add-on for IE using VC++ and ATL. It's a simple DLL and I have a text file that I use as a resource. This answer helped me in doing this.
I have a question about updating resource. MSDN describes how to do it but there is a function (BeginUpdateResource) that need filename of exe or dll with resource.
Is it possible to update resource in my DLL from my DLL? I can easily read it that way, but to update I have to provide DLL's name. Is it necessary?
Also if I won't give full path to my DLL it looks for file on desktop and not where DLL is stored. I don't know why this behave like this.
© Stack Overflow or respective owner