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. .NET (Core and Framework)
  4. Legacy VC 6 libraries compatable with .NET??

Legacy VC 6 libraries compatable with .NET??

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharpc++dotnetquestion
4 Posts 4 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.
  • Z Offline
    Z Offline
    Zee man
    wrote on last edited by
    #1

    I switched from Visual C++ 6 to a C# .NET solution. In my original VC 6 project I was linking a .lib file to my code. The .lib was providing me some functions to a CORBA orb. This .lib file doesn't seem to be working with my new .NET project. Does anyone know if you can use libraries coded in legacy VC++ 6 with the new .net framework or do I have to rewrite the libraries in C# .net as well? Thanks, Zahid Regards, Zahid

    K J A 3 Replies Last reply
    0
    • Z Zee man

      I switched from Visual C++ 6 to a C# .NET solution. In my original VC 6 project I was linking a .lib file to my code. The .lib was providing me some functions to a CORBA orb. This .lib file doesn't seem to be working with my new .NET project. Does anyone know if you can use libraries coded in legacy VC++ 6 with the new .net framework or do I have to rewrite the libraries in C# .net as well? Thanks, Zahid Regards, Zahid

      K Offline
      K Offline
      Kevin McFarlane
      wrote on last edited by
      #2

      You should be able to, but I don't know how. Kevin

      1 Reply Last reply
      0
      • Z Zee man

        I switched from Visual C++ 6 to a C# .NET solution. In my original VC 6 project I was linking a .lib file to my code. The .lib was providing me some functions to a CORBA orb. This .lib file doesn't seem to be working with my new .NET project. Does anyone know if you can use libraries coded in legacy VC++ 6 with the new .net framework or do I have to rewrite the libraries in C# .net as well? Thanks, Zahid Regards, Zahid

        J Offline
        J Offline
        Joel Lucsy
        wrote on last edited by
        #3

        I have many VC 6 libraries that just work in both the 2002 and 2003 Visual Studios. Now, you didn't mention, but your still compiling C++ code, right? The C# or VB.NET stuff won't be able to use those libs. If you still can't get the libs to work, how about listing what the errors are? Perhaps something might need some tweaking. -- Joel Lucsy

        1 Reply Last reply
        0
        • Z Zee man

          I switched from Visual C++ 6 to a C# .NET solution. In my original VC 6 project I was linking a .lib file to my code. The .lib was providing me some functions to a CORBA orb. This .lib file doesn't seem to be working with my new .NET project. Does anyone know if you can use libraries coded in legacy VC++ 6 with the new .net framework or do I have to rewrite the libraries in C# .net as well? Thanks, Zahid Regards, Zahid

          A Offline
          A Offline
          Alan Chambers
          wrote on last edited by
          #4

          Some header includes are now officially redundant in 2003 so Microsoft is more 'ANSI compatible' and portable. If these lib headers include some now redundant libraries, you will have problems. A colleague of mine had linker errors. If these circumstaces sound familiar then changing your projects build order is needed to remove them. Al. "When I left you I was but the learner, now I am the master" - Darth Vader

          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