Answered by:
load ATL dll to mfc

Question
-
hai..
how to add ATL .DLL to MFC Application at Dynamacally.Explain the process
Kindly Help Me,
sathis
sathis
Wednesday, June 20, 2012 12:05 PM
Answers
-
Here is an example of loading a DLL dynamically. The process is the same for all DLLs, not just ATL DLLs.
http://msdn.microsoft.com/en-us/library/ms810279.aspx
- Proposed as answer by Helen Zhao Thursday, June 28, 2012 1:46 AM
- Marked as answer by Helen Zhao Thursday, June 28, 2012 1:52 AM
Wednesday, June 20, 2012 3:41 PM -
On 6/20/2012 8:05 AM, sAtsas wrote:
how to add ATL .DLL to MFC Application at Dynamacally.Explain the process
Why? What't the goal of the exercise? What problem are you really trying to solve?
ATL is mostly a template library. Most code is in the header files, and compiled directly into your application. There's very little in ATL.dll, just a few utility functions.
Igor Tandetnik
- Marked as answer by Helen Zhao Thursday, June 28, 2012 1:52 AM
Wednesday, June 20, 2012 5:59 PM -
If still problem you can provide ATL support to your MFC App and then use it same way like you do with ATL . On google you can find tutorial about how to add ATL support to MFC.
Thanks
Rupesh Shukla
- Marked as answer by Helen Zhao Thursday, June 28, 2012 1:52 AM
Wednesday, June 20, 2012 8:31 PM
All replies
-
Here is an example of loading a DLL dynamically. The process is the same for all DLLs, not just ATL DLLs.
http://msdn.microsoft.com/en-us/library/ms810279.aspx
- Proposed as answer by Helen Zhao Thursday, June 28, 2012 1:46 AM
- Marked as answer by Helen Zhao Thursday, June 28, 2012 1:52 AM
Wednesday, June 20, 2012 3:41 PM -
On 6/20/2012 8:05 AM, sAtsas wrote:
how to add ATL .DLL to MFC Application at Dynamacally.Explain the process
Why? What't the goal of the exercise? What problem are you really trying to solve?
ATL is mostly a template library. Most code is in the header files, and compiled directly into your application. There's very little in ATL.dll, just a few utility functions.
Igor Tandetnik
- Marked as answer by Helen Zhao Thursday, June 28, 2012 1:52 AM
Wednesday, June 20, 2012 5:59 PM -
If still problem you can provide ATL support to your MFC App and then use it same way like you do with ATL . On google you can find tutorial about how to add ATL support to MFC.
Thanks
Rupesh Shukla
- Marked as answer by Helen Zhao Thursday, June 28, 2012 1:52 AM
Wednesday, June 20, 2012 8:31 PM -
Hi All
How to Load Atl Dll in mfc applications.
Please Help me.....
Regades,
umapathi
- Merged by Helen Zhao Friday, June 22, 2012 5:05 AM
Thursday, June 21, 2012 4:57 AM -
You asked the same question here...
http://social.msdn.microsoft.com/Forums/en-US/vcmfcatl/thread/114554e1-72a5-4eb9-9998-ec543d5e6ce7
and received several responses in that thread.
Thursday, June 21, 2012 1:27 PM -
you can check with the following link. It uses VB. but, you can use the same way for MFC too.
http://www.codeproject.com/Articles/8745/A-Beginner-tutorial-for-writing-simple-COM-ATL-DLL
Thanks and Regards Selvam http://www15.brinkster.com/selvamselvam/
Thursday, June 21, 2012 2:57 PM -
Hi ATL DLL,
According to Scott's reply and my research, I found you have posted a similar thread in Visual C++ MFC & ATL forum. I'd like to merge them to keep in the same topic.
Thanks for your understanding.
Best regards,Helen Zhao [MSFT]
MSDN Community Support | Feedback to us
Friday, June 22, 2012 5:05 AM -
Can you clarify your question please?
Are you asking about the DLL that contains some ATL library functions, or about a DLL that was built with ATL? If the DLL was built with ATL is it an ordinary DLL that exports functions or is it a COM server DLL?
Friday, June 22, 2012 1:14 PM