MSVS 2005 dependency issue

This is a discussion on MSVS 2005 dependency issue within the Tech Board forums, part of the Community Boards category; I have a project that has 1 exe and several dll projects in it. One of those DLLs is loaded ...

  1. #1
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596

    MSVS 2005 dependency issue

    I have a project that has 1 exe and several dll projects in it. One of those DLLs is loaded via LoadLibrary() by the exe. When I set the DLL to be a dependency of the exe MSVS assumes that the DLL will output an export library which it does not. Instead it factories out the object in the DLL which means it does not need to export the class.

    Why is MSVS assuming that my DLL project is going to output a library? Does this mean if the DLL does not create an export library that I cannot set it as a dependency for the exe? It is a dependency just not one required until run-time which is perhaps why MSVS is a bit confused. I know I have done this in MSVS 2008 but it is not working in 2005.

    Any help would be appreciated.

  2. #2
    'Allo, 'Allo, Allo
    Join Date
    Apr 2008
    Posts
    611
    Why is MSVS assuming that my DLL project is going to output a library?
    Because you set it as a dependency, and a dependency is something one project needs from another in order to build. Just uncheck the box...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. VS9 Breakpoint a dependency?
    By Glorfindel in forum C++ Programming
    Replies: 2
    Last Post: 04-07-2009, 10:47 PM
  2. MSVS 2003, 2005 debugger issues
    By VirtualAce in forum A Brief History of Cprogramming.com
    Replies: 19
    Last Post: 01-19-2009, 06:41 PM
  3. Linker problem with template traits/policy on MSVS 2005
    By MarkZWEERS in forum C++ Programming
    Replies: 3
    Last Post: 10-24-2008, 04:01 AM
  4. New patch for MSVS 2005 standard
    By VirtualAce in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 07-14-2006, 11:58 AM
  5. MSVS.NET'03 .. Help.
    By knave in forum C++ Programming
    Replies: 1
    Last Post: 07-16-2005, 11:27 AM

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