Click here to Skip to main content
15,913,091 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Can you Execute a DLL ? Pin
Temporary Alias Hopefully5-Nov-01 22:23
Temporary Alias Hopefully5-Nov-01 22:23 
AnswerRe: Can you Execute a DLL ? Pin
Steen Krogsgaard5-Nov-01 23:56
Steen Krogsgaard5-Nov-01 23:56 
GeneralRe: Can you Execute a DLL ? Pin
Gary R. Wheeler6-Nov-01 2:47
Gary R. Wheeler6-Nov-01 2:47 
GeneralRe: Can you Execute a DLL ? Pin
Steen Krogsgaard6-Nov-01 4:00
Steen Krogsgaard6-Nov-01 4:00 
QuestionHow to check if the local path is network shared ? Pin
Miroslav Rajcic5-Nov-01 20:55
Miroslav Rajcic5-Nov-01 20:55 
QuestionConvert MFC Toolbars to Taskbars?? Pin
MaTrIX2k25-Nov-01 18:35
MaTrIX2k25-Nov-01 18:35 
AnswerRe: Convert MFC Toolbars to Taskbars?? Pin
Michael P Butler5-Nov-01 22:00
Michael P Butler5-Nov-01 22:00 
GeneralProblem with CHoverButton::LoadBitmap in Netscape Plugin (DLL) Pin
5-Nov-01 17:33
suss5-Nov-01 17:33 
Hi,

I try to use CHoverButton (published in this site) in a netscape plugin.
The plugin is in DLL format. But it doesn't work. Finally, I figure out
that the problem lies with bitmap loading. Somehow the
CHoverButton::LoadBitmap function does not load/can't find the bitmap.

I change the code to the simplest version as follows.
mybitmap.LoadBitmap(IDB_BITMAP1); //mybitmap is a CBitmap object

To my surprise, the function returns 0 (fail). I've imported the bitmap
into the resource editor as IDB_BITMAP1, and the resource.h clearly
shows the entry for it.
#define IDB_BITMAP1 105

Does it have anything to do with DLL vs Application? I tried to load the
same bitmap using the same way in normal MFC Application and it works.

How can I know whether the bitmap resource has been linked into the DLL itself?
Is there anyway to verify it through Project Settings?

Your help is appreciated.


GeneralHelp with CMutex and DB access Pin
Bill Wilson5-Nov-01 12:58
Bill Wilson5-Nov-01 12:58 
GeneralRe: Help with CMutex and DB access Pin
Joaquín M López Muñoz5-Nov-01 22:21
Joaquín M López Muñoz5-Nov-01 22:21 
GeneralRe: Help with CMutex and DB access Pin
Bill Wilson6-Nov-01 5:25
Bill Wilson6-Nov-01 5:25 
GeneralRe: Help with CMutex and DB access Pin
Joaquín M López Muñoz6-Nov-01 6:59
Joaquín M López Muñoz6-Nov-01 6:59 
GeneralRe: Help with CMutex and DB access Pin
Bill Wilson6-Nov-01 7:53
Bill Wilson6-Nov-01 7:53 
GeneralRe: Help with CMutex and DB access Pin
Joaquín M López Muñoz6-Nov-01 9:03
Joaquín M López Muñoz6-Nov-01 9:03 
GeneralRe: Help with CMutex and DB access Pin
Bill Wilson6-Nov-01 10:21
Bill Wilson6-Nov-01 10:21 
GeneralSetting a CEditView to read-only Pin
Simon Walton5-Nov-01 12:48
Simon Walton5-Nov-01 12:48 
GeneralRe: Setting a CEditView to read-only Pin
PJ Arends5-Nov-01 14:16
professionalPJ Arends5-Nov-01 14:16 
GeneralDLL/App Memory Allocation Pin
Steve The Plant5-Nov-01 11:09
Steve The Plant5-Nov-01 11:09 
GeneralRe: DLL/App Memory Allocation Pin
Joaquín M López Muñoz5-Nov-01 11:19
Joaquín M López Muñoz5-Nov-01 11:19 
GeneralRe: DLL/App Memory Allocation Pin
Steve The Plant5-Nov-01 11:41
Steve The Plant5-Nov-01 11:41 
GeneralRe: DLL/App Memory Allocation Pin
Joaquín M López Muñoz5-Nov-01 12:08
Joaquín M López Muñoz5-Nov-01 12:08 
GeneralRe: DLL/App Memory Allocation Pin
Steen Krogsgaard6-Nov-01 4:16
Steen Krogsgaard6-Nov-01 4:16 
GeneralRe: DLL/App Memory Allocation Pin
Joaquín M López Muñoz6-Nov-01 6:43
Joaquín M López Muñoz6-Nov-01 6:43 
GeneralRe: DLL/App Memory Allocation Pin
Steen Krogsgaard6-Nov-01 22:01
Steen Krogsgaard6-Nov-01 22:01 
GeneralPut value in the registry Pin
Peter Liddle5-Nov-01 10:32
Peter Liddle5-Nov-01 10:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.