Problem loading a dll - Crashes with R6034 Error
-
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.
-
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.
-
Google is your friend - 2nd result from a google search of "R6034" C Run-Time Error R6034[^] Judy
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