CoderSource.net
Search
Re: MFC Dll
Started by danvilnoiu at 12-14-2005 2:19 PM. Topic has 2 replies.

Print Search « Previous Thread Next Thread »
   12-14-2005, 2:19 PM
danvilnoiu is not online. Last active: 12/15/2005 9:16:02 AM danvilnoiu

Top 25 Posts
Joined on 12-14-2005
Posts 4
Super Angry [8o|] MFC Dll

Hello everybody,

 

 

I am new on this forum/site.

Can somebody help me with few responses for my questions?

So, why is so hard in VC++ to link a MFC DLL to an application, why I couldn’t access the MFC DLL like a class or like a Com component in VB, I really don’t understand why is so complicate?

I work in MFC few projects but I build just exe not DLL or COM/ATL.

The second problem is about COM, how I can write a COM component in VC++, is mandatory to use ATL to build a COM component.

I saw yesterday on Microsoft site that ATL is now at 7.0 versions, they will still continue to develop this technology in the future, or they will close it like MFC?

 

 

 

Thank you,

Dan


   Report 
   12-14-2005, 2:30 PM
Muthu is not online. Last active: 11/15/2006 1:27:50 AM Muthu

Top 10 Posts
Joined on 06-18-2005
Posts 10
Re: MFC Dll
So, why is so hard in VC++ to link a MFC DLL to an application, why I couldn’t access the MFC DLL like a class or like a Com component in VB, I really don’t understand why is so complicate?
I work in MFC few projects but I build just exe not DLL or COM/ATL.

- Hmm. You are right. Writing a DLL & using it in VC++ is such a nightmare. This is probably because of the way MS chose. They tried building this around C++ and created 1000s of classes. Also C++ programs are popular for memory leaks.

The second problem is about COM, how I can write a COM component in VC++, is mandatory to use ATL to build a COM component.
- No. You can write it without ATL, but it is too complicated. The basic requirement is to derive your class from either IUnknown or IDispatch and support a few methods. Then you can use this component anywhere.

I saw yesterday on Microsoft site that ATL is now at 7.0 versions, they will still continue to develop this technology in the future, or they will close it like MFC?
 - This I don't know. Probably this could be given lesser preference over the webservices technology MS is proposing.


Muthu
   Report 
   12-14-2005, 3:25 PM
danvilnoiu is not online. Last active: 12/15/2005 9:16:02 AM danvilnoiu

Top 25 Posts
Joined on 12-14-2005
Posts 4
Re: MFC Dll

Thank you for your time.

I have designed few small components in ATL but it is not easy to build something in it.

If I will choose C++ for my new project then ATL is the only one technology offered by Microsoft to build a large project for a moment?

Please let me know, the huge projects witch are developed in IBM or Big Companies and are written in C++ use MFC or ATL?

 

Dan


   Report 
Codersource.Net » Programming » C++ Programming » Re: MFC Dll

MENU
Home
MFC 
C++
.Net
WIN32
Programming
Forum
My Articles
Welcome to Codersource.Net Login | Register | Faq  

Google
 

NOTES:


Thanks for visiting our CoderSource.net. This site will be improved with more articles. Interested visitors can also submit their articles through the Submit Article link.Your article will also be published after due consideration by the editor. 

© Copyright 2003. All rights on content reserved by CoderSource.net. Contact    About Us