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. Other Discussions
  3. IT & Infrastructure
  4. Problem loading a dll - Crashes with R6034 Error

Problem loading a dll - Crashes with R6034 Error

Scheduled Pinned Locked Moved IT & Infrastructure
helpvisual-studiodebugging
3 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.
  • L Offline
    L Offline
    ledallam
    wrote on last edited by
    #1

    Hi, I have a dll that was built in VS 2008. I am trying to load it using LoadLibrary() function call. I am getting a Runtime error R6034. I am running the application in debug mode with break point set on LoadLibrary function call, but does'nt break into the function of LoadLibrary. Can anyone please help me to debug this problem. Any suggestions or any hints are highly appreciated. Thanks in advance.

    J 1 Reply Last reply
    0
    • L ledallam

      Hi, I have a dll that was built in VS 2008. I am trying to load it using LoadLibrary() function call. I am getting a Runtime error R6034. I am running the application in debug mode with break point set on LoadLibrary function call, but does'nt break into the function of LoadLibrary. Can anyone please help me to debug this problem. Any suggestions or any hints are highly appreciated. Thanks in advance.

      J Offline
      J Offline
      JudyL_MD
      wrote on last edited by
      #2

      Google is your friend - 2nd result from a google search of "R6034" C Run-Time Error R6034[^] Judy

      L 1 Reply Last reply
      0
      • J JudyL_MD

        Google is your friend - 2nd result from a google search of "R6034" C Run-Time Error R6034[^] Judy

        L Offline
        L Offline
        ledallam
        wrote on last edited by
        #3

        Hi, Thanks for your inputs. The dll is built with manifest file and same is the case with test application used to call LoadLibrary on the Dll. The dll when built in VS 2008, gives an error message “failed to Register the Active X Control”. The dependency walker shows all dlls are being correctly referred. I still get the R6034 error message with assertion on the LoadLibrary call. Is there any way to step into the LoadLibrary function and figure out which C runtime library is the LoadLibrary unable to load? Thanks

        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