Solved

Resource Problems with Extension DLLs

Posted on 1998-02-03
2
547 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

762 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

19 Experts available now in Live!

Get 1:1 Help Now