Solved

Resource Problems with Extension DLLs

Posted on 1998-02-03
2
561 Views
Last Modified: 2013-11-20
I'm working with some guys who are making extensions to MS Outlook, and they're putting their code in extension DLLs.  The problem is that for some of them, their DLLs can't find their resources.  In a regular MFC DLL you can solve this problem by using AfxManageState(), but we're not sure how to solve it when we're using Extension DLLs.  Does anyone know?
0
Comment
Question by:nbushman
2 Comments
 
LVL 23

Accepted Solution

by:
chensu earned 50 total points
ID: 1315506
Use AfxSetResourceHandle(extensionDLL.hModule);

Look into the MFC sample "DLLHUSK: Dynamically Links the MFC Library". Pay attention to testdll2.cpp.
0
 

Author Comment

by:nbushman
ID: 1315507
Thanks, that's exactly what I was looking for!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
xyBalance chalenge 58 88
Separate into files by filename 12 75
scoreUp challenge 14 56
Fibonacci challenge 11 108
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now