Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / February 2007

Tip: Looking for answers? Try searching our database.

How to use VS2005 ClassLibrary in old MFC project?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Janus - 22 Feb 2007 12:39 GMT
Hi all,

I've got a third party class library that i want to use in an 'old' MFC
project (actually i need it in a Borland C++ builder project, but if i can
use it in MFC i propably can convert it to Borland.)

Because i only need 3 methods of the third party dll i want to create a C++
ClassLibrary wrapper. But how can i access this C++ ClassLibrary from an MFC
project? It's the problem of using managed code in an unmanaged environment.

I tried a lot of examples that uses COM to export to MFC. I think this is
the way to go, but get a lot of syntax problem because the examples are
mostly VS2003 code.

Can anybody help me with an example written in VS2005?

Thanx in advance.
Bruno van Dooren [MVP VC++] - 22 Feb 2007 13:41 GMT
> I've got a third party class library that i want to use in an 'old' MFC
> project (actually i need it in a Borland C++ builder project, but if i can
[quoted text clipped - 12 lines]
>
> Can anybody help me with an example written in VS2005?

Hi,
I don't have any examples at hand, but have you tried looking on
www.codeprojects.com ?
That is usually the first place I go to for examples.

Signature

Kind regards,
   Bruno van Dooren
   bruno_nos_pam_van_dooren@hotmail.com
   Remove only "_nos_pam"


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.