HelpVisual C++ Runtime error R6034

Posts 13 of 3 · Page 1 of 1
Visual C++ Runtime error R6034
Hello...
Iam trying to Load a DLL into my C++ application, but i get this stupid error
"R6034 “An application has made an attempt to load the C runtime library incorrectly”
Iam trying to load a specific DLL CShell.dll
Code:
HINSTANCE CShell = LoadLibraryA("CShell.dll");
I get this Error, But when i try to load another DLL I get no errors.
Quote Originally Posted by Omer- View Post
Hello...
Iam trying to Load a DLL into my C++ application, but i get this stupid error
"R6034 “An application has made an attempt to load the C runtime library incorrectly”
Iam trying to load a specific DLL CShell.dll
Code:
HINSTANCE CShell = LoadLibraryA("CShell.dll");
I get this Error, But when i try to load another DLL I get no errors.
Before you load CShell, you must load what the DLLs that the CShell depends on. (Hint: VC++ 2005 shells)

It is kind of like loading a library to use its functions.
Quote Originally Posted by #%TGGEgw4tw4et4yggr\ View Post
Before you load CShell, you must load what the DLLs that the CShell depends on. (Hint: VC++ 2005 shells)

It is kind of like loading a library to use its functions.
Thanks for your replay,
Now i know It depends on "kernel32.dll" & "avifil32.dll" , and those DLL also depends on other DLL's , It's like a loop, can't i find any packages that contains all those DLL's ?
Posts 13 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?