-
dll and gif
I need to embed an image in my acx dll and call it this way:
res://C:\WINDOWS\SYSTEM\mydll.DLL/img1.gif
I tried using resource script file to add an gif image but it seems that gif cannot be added to res files.
Similarly I need to store a rtf,html files inside my exe and call it the same way.
Any solutions?
-
Like I stated in the other thread you posted about this problem:
Ok, you can't call it that way, because if it is inside the dll then it is not a file and you can't reference it like a file.
One solution would be to create a form in the dll with a picture box on it, and have the picture in the picture box. Then all you have to do is load the form and then get the picture from the picture box.
If anyone has a better solution, I would like to know. That is the best one I can think of that would be fairly easy to do.