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. Need to access a VB.Net DLL in VC++

Need to access a VB.Net DLL in VC++

Scheduled Pinned Locked Moved C / C++ / MFC
csharpc++visual-studiocom
4 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.
  • A Offline
    A Offline
    abiemann
    wrote on last edited by
    #1

    I found this guide, and I tried to use Method #2 : http://support.microsoft.com/default.aspx?kbid=194873[^] However, as you can guess, building the VC++ project failed: Error 1 fatal error C1083: Cannot open type library file: 'd:\data\visual studio 2005\projects\smbus64\smbus64\bin\x64\release\smbus64.dll': Error loading type library/DLL. d:\data\Visual Studio 2005\Projects\SMBus64\VC_DLLtest\VC_DLLtest.cpp 5 Line 5 of my Cpp is: #import "D:\data\Visual Studio 2005\Projects\SMBus64\SMBus64\bin\x64\Release\SMBus64.dll" no_namespace Does anyone know of a similar guide that works with Visual Studio 2005 ?

    CPalliniC A 2 Replies Last reply
    0
    • A abiemann

      I found this guide, and I tried to use Method #2 : http://support.microsoft.com/default.aspx?kbid=194873[^] However, as you can guess, building the VC++ project failed: Error 1 fatal error C1083: Cannot open type library file: 'd:\data\visual studio 2005\projects\smbus64\smbus64\bin\x64\release\smbus64.dll': Error loading type library/DLL. d:\data\Visual Studio 2005\Projects\SMBus64\VC_DLLtest\VC_DLLtest.cpp 5 Line 5 of my Cpp is: #import "D:\data\Visual Studio 2005\Projects\SMBus64\SMBus64\bin\x64\Release\SMBus64.dll" no_namespace Does anyone know of a similar guide that works with Visual Studio 2005 ?

      CPalliniC Offline
      CPalliniC Offline
      CPallini
      wrote on last edited by
      #2

      The linked article has nothing to do with a VB.NET DLL. :)

      If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
      This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke

      In testa che avete, signor di Ceprano?

      A 1 Reply Last reply
      0
      • CPalliniC CPallini

        The linked article has nothing to do with a VB.NET DLL. :)

        If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
        This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke

        A Offline
        A Offline
        abiemann
        wrote on last edited by
        #3

        indeed, hence I am looking for a guide like it that works with VS2005 spent 4 hours searching the interwebs... and counting...

        1 Reply Last reply
        0
        • A abiemann

          I found this guide, and I tried to use Method #2 : http://support.microsoft.com/default.aspx?kbid=194873[^] However, as you can guess, building the VC++ project failed: Error 1 fatal error C1083: Cannot open type library file: 'd:\data\visual studio 2005\projects\smbus64\smbus64\bin\x64\release\smbus64.dll': Error loading type library/DLL. d:\data\Visual Studio 2005\Projects\SMBus64\VC_DLLtest\VC_DLLtest.cpp 5 Line 5 of my Cpp is: #import "D:\data\Visual Studio 2005\Projects\SMBus64\SMBus64\bin\x64\Release\SMBus64.dll" no_namespace Does anyone know of a similar guide that works with Visual Studio 2005 ?

          A Offline
          A Offline
          abiemann
          wrote on last edited by
          #4

          to answer my original question.... this looks promising http://support.microsoft.com/kb/828736/en-us?spid=1249&sid=122[^]

          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