|
-
Apr 8th, 2005, 04:32 AM
#1
Thread Starter
New Member
Bitmaps from DLL
Hi,
I saw thread regarding Bitmaps In DLL.But i face following problem...
I have the dll which contains only bitmaps, i should not include any class or functions other than that resource file.
So how to retrive the images from DLL now,
I am using the following code, but it returns long data type..no idea how to proceed next..
"LoadBitmap" is API
Dim hInst As Long, lResult As Long
Dim Img As Image
Dim resString As String * 255
IntLocation = 301
hInst = LoadLibrary("MyDLL.dll")
lResult = LoadBitmap(hInst, "301")
lResult = StrPtr(lResult)
Picture1.Picture = lResult
Pls Help me out...
Thanks
Harish
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
|