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
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Templates and DLLs from VC6 - VC.net

Templates and DLLs from VC6 - VC.net

Scheduled Pinned Locked Moved C / C++ / MFC
csharpquestionc++visual-studiowpf
1 Posts 1 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.
  • L Offline
    L Offline
    Leifen
    wrote on last edited by
    #1

    I have an C++ application in Visual Studio.net (2002). This application uses an external DLL (with templates) made by .net. However, I also wants to use my own old DLLs made by VC6. Then I get a linker error. I found out that this error id due to name mangling for exported template instantiations. No problems if I recompile my DLLs with .net. However these new DLLs does not work with my old applications using these DLLs. My question is if there is another solution than having two source codes identical DLLs, one compiled with VC6 and the other compiled with .net?

    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