Exporting

This is a discussion on Exporting within the C++ Programming forums, part of the General Programming Boards category; Hi! I've created a DLL (as an empty Win32 project) using Visual C++ .NET 2003 but have been unable to ...

  1. #1
    Registered User
    Join Date
    Feb 2005
    Posts
    6

    Exporting

    Hi!

    I've created a DLL (as an empty Win32 project) using Visual C++ .NET 2003 but have been unable to get the symbols exported. When creating an MFC, Visual C++ .NET 2003 got me a file containing export symbols where I could type in the function names and would like the same functionality.

    Any help appreciated.

    Regards,
    Arti

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,650
    http://msdn.microsoft.com/library/de...DLL_Topics.asp

    There are several DLL examples in these forums that can be found with a search.

    gg

  3. #3
    Registered User
    Join Date
    Feb 2005
    Posts
    6

    Oh, I found it

    Hi!

    Thanks for the link, but I did some exploring and found it. The __declspec(dllexport) part didn't work for me so Add > New Item > Module Definition file got me the .DEF file and it did the trick.

    -Arti

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 2
    Last Post: 11-23-2008, 08:09 PM
  2. Problem in exporting static function in win32 dll
    By dattaforit in forum Windows Programming
    Replies: 4
    Last Post: 12-04-2006, 11:03 AM
  3. Replies: 2
    Last Post: 07-15-2004, 06:03 AM
  4. VC++6: exporting classes containing templates
    By ttt in forum Windows Programming
    Replies: 2
    Last Post: 09-15-2003, 11:38 AM
  5. Exporting Object Hierarchies from a DLL
    By andy668 in forum C++ Programming
    Replies: 0
    Last Post: 10-20-2001, 01:26 PM

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