How to use vc.net dll in vc6

This is a discussion on How to use vc.net dll in vc6 within the C++ Programming forums, part of the General Programming Boards category; i compile a dll use vc.net then use it in vc6.But it doesn't work. my app call a function of ...

  1. #1
    Registered User
    Join Date
    Aug 2004
    Posts
    1

    How to use vc.net dll in vc6

    i compile a dll use vc.net then use it
    in vc6.But it doesn't work. my app call
    a function of dll. vc6 developer report a error
    here : AfxGetResourceHandle(). I think
    that maybe a conflict when use mfc42.dll
    and mfc71.dll together,but i don't know how
    to do?
    Can you tell me how to solve the problem?
    Thanks very much.

  2. #2
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    Well, we can't help you without an error message.
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. non-MFC DLL with MFC app question.
    By Kempelen in forum Windows Programming
    Replies: 10
    Last Post: 08-20-2008, 08:11 AM
  2. dll communicating between each other
    By cloudy in forum C++ Programming
    Replies: 5
    Last Post: 06-17-2005, 03:20 AM
  3. DLL and std::string woes!
    By Magos in forum C++ Programming
    Replies: 7
    Last Post: 09-08-2004, 01:34 PM
  4. C++ VC6 to VC.NET - strange error
    By torbjorn in forum C++ Programming
    Replies: 9
    Last Post: 06-02-2004, 05:18 AM
  5. .lib vs .h vs .dll
    By Shadow12345 in forum C++ Programming
    Replies: 13
    Last Post: 01-01-2003, 05:29 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21