Solved

Resource Problems with Extension DLLs

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

623 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