question about dll

This is a discussion on question about dll within the C++ Programming forums, part of the General Programming Boards category; I was wondering if there is some way to see what functions is declared in dll libraries I'm using Visual ...

  1. #1
    Registered User Micko's Avatar
    Join Date
    Nov 2003
    Posts
    712

    question about dll

    I was wondering if there is some way to see what functions is declared in dll libraries
    I'm using Visual c++ 6.0 and maybe there is some tool to achive this?
    For example I'd like to see what functions are in kernel32.dll etc.

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,674
    VC++ 6.0 comes with a tool called "Depends" that will give you this information.
    After you run it for the first time, you'll be able to right-click any EXE or DLL and select "View Dependencies".

    gg

  3. #3
    Registered User Micko's Avatar
    Join Date
    Nov 2003
    Posts
    712
    Is it possible to put class int dll library. When I try to achive this I get following linker errors:


    Linking...
    Test.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall TestClass::~TestClass(void)" (??1TestClass@@UAE@XZ)
    Test.obj : error LNK2001: unresolved external symbol "public: __thiscall TestClass::TestClass(void)" (??0TestClass@@QAE@XZ)

    I probably should use __stdcall but when I try to write this:

    __declspec(dllexport) class TestClass....
    I get sam errors + warning.
    I don't know how to solve this!

  4. #4
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,674

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, 07:11 AM
  2. Dll Injection Question
    By zenox in forum C Programming
    Replies: 13
    Last Post: 03-15-2008, 10:54 AM
  3. dll and classes question
    By Rune Hunter in forum C++ Programming
    Replies: 2
    Last Post: 12-17-2005, 08:26 PM
  4. C++ .NET - "inconsistent dll linkage" - What's that?
    By BrianK in forum Windows Programming
    Replies: 2
    Last Post: 03-16-2004, 09:16 AM
  5. Calling a VB DLL w/ forms from C++ DLL
    By UW_COOP in forum C++ Programming
    Replies: 8
    Last Post: 06-30-2003, 08:04 AM

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