Visual C++ dll bitmap problem

M

Markus Lemm

I am having a problem loading a bitmap from a dll. I have created the
dll in Visual Studio 6.0 and have loaded it. I use LoadLibrary to
load the dll and it creates a window, that I can draw to, but I can
not retrieve the bitmap from the dll. I have created the .rc and .def
files. The dll fails when I retrieve the internal bitmap. I can load
a bitmap from a seperate .bmp but I don't want to do this, I want the
bitmap that was added to the dll.

Any help would be greatly appreciated.

Markus Lemm
 
B

Buster

Markus Lemm said:
I am having a problem loading a bitmap from a dll.

Please ask this question again on a newsgroup that deals
with the platform and/or tools that you are using. Examples:

comp.os.ms-windows.programmer.win32
microsoft.public.vsnet.general

This newsgroup is for discussion of the standard C++
language, which knows nothing of dlls or bitmaps.

Best regards and good luck,
Buster.
 
M

Mike Wahler

Markus Lemm said:
I am having a problem loading a bitmap from a dll. I have created the
dll in Visual Studio 6.0 and have loaded it. I use LoadLibrary to
load the dll and it creates a window, that I can draw to, but I can
not retrieve the bitmap from the dll. I have created the .rc and .def
files. The dll fails when I retrieve the internal bitmap. I can load
a bitmap from a seperate .bmp but I don't want to do this, I want the
bitmap that was added to the dll.

Any help would be greatly appreciated.

http://www.slack.net/~shiva/welcome.txt

-Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,143
Messages
2,570,822
Members
47,368
Latest member
michaelsmithh

Latest Threads

Top