R6034 runtime error while calling a VC8 Dll from c#

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • crusoein
    New Member
    • Aug 2008
    • 1

    R6034 runtime error while calling a VC8 Dll from c#

    I have ported a Vc6 dll to VC 8. Inorder to test the new dll i have made a test application (console )in c# which calls the C++ unmanaged code using marshalling. First when i run the app i was getting a module not found exception. when i ran the dependency walker i found it needed the runtime libraries(msvcp 80 and msvcr80.dll). so i downloaded it to my app directory.. Now when i run it .. i am getting another error which says "R6034 libraries are not loaded correctly".

    I have given generate manifest option in my VC++ dll while building.

    any help would be appreciated

    Thanks
    meera
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    Have you made a test application in C++ in VS2008?

    I would do that first to see of it is a C# or a C++ issue.

    My guess is that it is an interoperabilit y problem.

    Comment

    Working...