|
-
May 28th, 2002, 11:44 PM
#1
Thread Starter
Hyperactive Member
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?
-
Jun 5th, 2002, 07:15 PM
#2
Hyperactive Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|