Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Help me! Why my dll export lots of symbols which I dont want?

Help me! Why my dll export lots of symbols which I dont want?

Scheduled Pinned Locked Moved C / C++ / MFC
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Best Kiluyar
    wrote on last edited by
    #1

    Hi, I'm building a dll which export some interfaces. I use a .def file to set export symbols. But, after build, while using VC tool "depends" to watch export symbols, I see lots of additional functions which not defined in my .def file! My dll also link some thridparty libs which implement these additional functions. Do you know the reason and how to resolve it? :sigh:

    P E 2 Replies Last reply
    0
    • B Best Kiluyar

      Hi, I'm building a dll which export some interfaces. I use a .def file to set export symbols. But, after build, while using VC tool "depends" to watch export symbols, I see lots of additional functions which not defined in my .def file! My dll also link some thridparty libs which implement these additional functions. Do you know the reason and how to resolve it? :sigh:

      P Offline
      P Offline
      prasad_som
      wrote on last edited by
      #2

      There one other way to export functions is dll. Using __dllexport, check if this is what happening in your case.

      Prasad Notifier using ATL | Operator new[],delete[][^]

      1 Reply Last reply
      0
      • B Best Kiluyar

        Hi, I'm building a dll which export some interfaces. I use a .def file to set export symbols. But, after build, while using VC tool "depends" to watch export symbols, I see lots of additional functions which not defined in my .def file! My dll also link some thridparty libs which implement these additional functions. Do you know the reason and how to resolve it? :sigh:

        E Offline
        E Offline
        Eytukan
        wrote on last edited by
        #3

        I think you are adding __declspec(dllexport) to the class itself. Rather add it to the functions you want to export.


        Press: 1500 to 2,200 messages in just 6 days? How's that possible sir? **Dr.Brad :**Well,I just replied to everything Graus did and then argued with Negus for a bit.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups