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. Managed C++/CLI
  4. redefinition error (Library)

redefinition error (Library)

Scheduled Pinned Locked Moved Managed C++/CLI
helptutorial
2 Posts 2 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.
  • P Offline
    P Offline
    palanirajan
    wrote on last edited by
    #1

    hi iam using two different library in my application class this two library using one struct with the same name, when i try to include this two library header file in my application class iam getting redefinition error i dont have the source to include namespace in the library how to include this two library file in my application class without this redefinition error thanks and regards shivapalanirajan krj.

    iam a software engineer working for varisis technologies bangalore

    M 1 Reply Last reply
    0
    • P palanirajan

      hi iam using two different library in my application class this two library using one struct with the same name, when i try to include this two library header file in my application class iam getting redefinition error i dont have the source to include namespace in the library how to include this two library file in my application class without this redefinition error thanks and regards shivapalanirajan krj.

      iam a software engineer working for varisis technologies bangalore

      M Offline
      M Offline
      Mark Salsbery
      wrote on last edited by
      #2

      Please post C/C++ questions that DON'T relate to Managed C++/CLI on the visual C++/MFC board[^] Without the source code you're screwed.  Maybe you can wrap one of the header files in another header file of your own, which wraps one of the headers in a different namespace. I don't know if it would work or not... Mark

      Mark Salsbery Microsoft MVP - Visual C++ :java:

      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