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. Created .Dll from and .ocx using C++/CLI but interop is not loading in C#

Created .Dll from and .ocx using C++/CLI but interop is not loading in C#

Scheduled Pinned Locked Moved C / C++ / MFC
csharpc++htmldatabasewpf
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.
  • M Offline
    M Offline
    Member_14314759
    wrote on last edited by
    #1

    System.Windows.Markup.XamlParseException: ''The invocation of the constructor on type 'CommonXFS.Interface.Utility.MainWindow' that matches the specified binding constraints threw an exception.' Line number '5' and line position '9'.'

    InnerException:

    FileNotFoundException: Could not load file or assembly 'Interop.NXCameraXLib.1.0, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

    ----------------------------------------------------------------------------------------------------- Note I have tried both (x86) and (x64) My DLl is not able to load as "Interop.NXCameraXLib.1.0 "(file from OCX adeed as reference) is not loading properly. My Query !: Do we have any way to create an managed code(C++/CLI dll which don't need any dependency from any 3rd party if yes please share an example. 2) is there any way to sesolve siscussed error.

    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