GIDForums  

Go Back   GIDForums > Computer Programming Forums > MS Visual C++ / MFC Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 12-May-2008, 03:22
sabeesh sabeesh is offline
New Member
 
Join Date: May 2008
Posts: 5
sabeesh is on a distinguished road

use MFC class in C++/CLI


Hi,
I have more than 10 class in my MFC Project. Now I need to re-use these class in my new C++/CLI Project. How can i re-use my old MFC class in my new C++/CLI project.
eg: I have a class in MFC for create a tree view. I need to create that treeview in my new C++/CLI program. How can I do it.

Please help me
Thankyou
  #2  
Old 14-May-2008, 05:53
sudhirlko2001 sudhirlko2001 is offline
New Member
 
Join Date: May 2008
Posts: 3
sudhirlko2001 is on a distinguished road

Re: use MFC class in C++/CLI


Copy yhe class header and CPP file in your new projects directory the add the files in your project then its ready to use.
  #3  
Old 19-May-2008, 03:46
sabeesh sabeesh is offline
New Member
 
Join Date: May 2008
Posts: 5
sabeesh is on a distinguished road

Re: use MFC class in C++/CLI


Hello,
How its work? The class is from MFC and the Project is in C++/CLR. Then how we can create an object of MFC class in CLR.?
 
 

Recent GIDBlogToyota - 2008 July Promotion by Nihal

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Returning a Struct to a separate class usmsci CPP / C++ Forum 9 07-Feb-2007 08:34
Hard drive/CPU Diagnoses Issues binarybug Computer Hardware Forum 1 22-Jan-2007 19:23
Box Class, need help again :( TransformedBG CPP / C++ Forum 7 13-Nov-2006 15:11
C++ class -- Please help vnca_1 CPP / C++ Forum 3 14-Jun-2006 12:31
a tester class and then some. postage Java Forum 1 06-May-2006 15:48

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 23:36.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.