Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Resource Problems with Extension DLLs

Posted on 1998-02-03
2
Medium Priority
?
625 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 23

Accepted Solution

by:
chensu earned 200 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Ready to get certified? Check out some courses that help you prepare for third-party exams.
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.
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

722 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