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. Calling a VS2008 DLL from VS 6.0 dll

Calling a VS2008 DLL from VS 6.0 dll

Scheduled Pinned Locked Moved C / C++ / MFC
visual-studiocsharpc++question
8 Posts 5 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.
  • R Offline
    R Offline
    rana ray
    wrote on last edited by
    #1

    Hi, Is it possible to call a visual studio 2008 dll from VS6.0 dll? I am using VC++. If you guys have some information regarding this, please let me know. regards, Rana

    _ R B 3 Replies Last reply
    0
    • R rana ray

      Hi, Is it possible to call a visual studio 2008 dll from VS6.0 dll? I am using VC++. If you guys have some information regarding this, please let me know. regards, Rana

      _ Offline
      _ Offline
      _AnsHUMAN_
      wrote on last edited by
      #2

      Yes. It shouldn't be a problem unless you are mixing Managed and Native terminologies.

      You need to google first, if you have "It's urgent please" mentioned in your question. ;-)_AnShUmAn_

      R 1 Reply Last reply
      0
      • R rana ray

        Hi, Is it possible to call a visual studio 2008 dll from VS6.0 dll? I am using VC++. If you guys have some information regarding this, please let me know. regards, Rana

        R Offline
        R Offline
        Rajesh R Subramanian
        wrote on last edited by
        #3

        There is nothing like a VS 2008 DLL and a VS 6.0 DLL. Once built, a DLL is just a DLL with no regards to the languages/tools used to build it.[^]

        It is a crappy thing, but it's life -^ Carlo Pallini

        J 1 Reply Last reply
        0
        • _ _AnsHUMAN_

          Yes. It shouldn't be a problem unless you are mixing Managed and Native terminologies.

          You need to google first, if you have "It's urgent please" mentioned in your question. ;-)_AnShUmAn_

          R Offline
          R Offline
          Rajesh R Subramanian
          wrote on last edited by
          #4

          _AnsHUMAN_ wrote:

          It shouldn't be a problem unless you are mixing Managed and Native terminologies.

          What is the problem in mixing managed and native terminologies? :confused: Especially given the context of this thread, what else other than using a DLL (COM Interoperability) can be a sensible way to consume something written in managed code, if I am on the native code side?

          It is a crappy thing, but it's life -^ Carlo Pallini

          _ 1 Reply Last reply
          0
          • R Rajesh R Subramanian

            _AnsHUMAN_ wrote:

            It shouldn't be a problem unless you are mixing Managed and Native terminologies.

            What is the problem in mixing managed and native terminologies? :confused: Especially given the context of this thread, what else other than using a DLL (COM Interoperability) can be a sensible way to consume something written in managed code, if I am on the native code side?

            It is a crappy thing, but it's life -^ Carlo Pallini

            _ Offline
            _ Offline
            _AnsHUMAN_
            wrote on last edited by
            #5

            INTEROPERABILITY, nothing else. My guess was that the OP was developing the dll in the managed environment.

            You need to google first, if you have "It's urgent please" mentioned in your question. ;-)_AnShUmAn_

            1 Reply Last reply
            0
            • R Rajesh R Subramanian

              There is nothing like a VS 2008 DLL and a VS 6.0 DLL. Once built, a DLL is just a DLL with no regards to the languages/tools used to build it.[^]

              It is a crappy thing, but it's life -^ Carlo Pallini

              J Offline
              J Offline
              Joe Woodbury
              wrote on last edited by
              #6

              Well yes and no. If the VS 2008 DLL used dynamically linked MFC, you will likely have problems. If the VS 2008 DLL dynamically linked to the CRT, I'm not sure what the behavior is if you allocate memory in one and free it in the other.

              Anyone who thinks he has a better idea of what's good for people than people do is a swine. - P.J. O'Rourke

              R 1 Reply Last reply
              0
              • R rana ray

                Hi, Is it possible to call a visual studio 2008 dll from VS6.0 dll? I am using VC++. If you guys have some information regarding this, please let me know. regards, Rana

                B Offline
                B Offline
                BinName
                wrote on last edited by
                #7

                There are a lot of articles in this website explain the technical of P/Invoke and inter operation between VC and .NET.

                1 Reply Last reply
                0
                • J Joe Woodbury

                  Well yes and no. If the VS 2008 DLL used dynamically linked MFC, you will likely have problems. If the VS 2008 DLL dynamically linked to the CRT, I'm not sure what the behavior is if you allocate memory in one and free it in the other.

                  Anyone who thinks he has a better idea of what's good for people than people do is a swine. - P.J. O'Rourke

                  R Offline
                  R Offline
                  Rajesh R Subramanian
                  wrote on last edited by
                  #8

                  It has nothing to do with the 'DLL' terminology. If I link dynamically to a third party library from a DLL written with VS6 environment, that would depend on the third party library. This does not mean that a DLL written in VS6 will ALWAYS depend on that third party library. In other words, you are kinda marrying a DLL with what it is linking to. I was pointing out that a DLL is just well, a DLL.

                  It is a crappy thing, but it's life -^ Carlo Pallini

                  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