axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From harshareddy75 <harsharedd...@gmail.com>
Subject Axis C++ run time exception (DLL Initialization Failed)
Date Mon, 31 May 2010 10:33:08 GMT

Hi all, 

I am new to use Axis C++. I know that its pretty old but it fits my needs
perfectly so I am trying it out. 

I built the libraries required (all except server and HTTPSSLChannel.dll)
using VS2008. Later I tried running a test and I got an error saying that
MSVCR90.dll/MSVCP90.dll could not be found. On using the dependency walker
on axis_client.dll I got the same error in loading. So I built the libraries
again and included the directory of the 2 dlls in the path. Depends.exe is
now able to load axis_client.dll without any error. 

So next I tried running the application but got the following message - 

"R6034
An application has made an attempt to load the C runtime library
incorrectly."

On clicking OK I get another message saying - 

"The application failed to initialize properly (0xc0000142). Click OK to
terminate the application."

On clicking OK I get the message

"Unhandled exception at 0x7c9666c6 in HelloWorldClient.exe: 0xC0000142: DLL
Initialization Failed."

I tried to load  HelloWorldClient.exe in depends.exe in profile mode and it
gave me some errors. The output was (I am only pasting the parts showing the
errors)

.
.
Loaded "MSVCR90D.DLL" at address 0x10200000.  Successfully hooked module.
Loaded "MSVCP90D.DLL" at address 0x10480000.  Successfully hooked module.
Entrypoint reached. All implicit modules have been loaded.
DllMain(0x78520000, DLL_PROCESS_ATTACH, 0x0012FD30) in "MSVCR90.DLL" called.
GetProcAddress(0x7C800000 [KERNEL32.DLL], "FlsAlloc") called from
"MSVCR90.DLL" at address 0x78543ACC and returned NULL. Error: The specified
procedure could not be found (127).
GetProcAddress(0x7C800000 [KERNEL32.DLL], "FlsGetValue") called from
"MSVCR90.DLL" at address 0x78543AD9 and returned NULL. Error: The specified
procedure could not be found (127).
GetProcAddress(0x7C800000 [KERNEL32.DLL], "FlsSetValue") called from
"MSVCR90.DLL" at address 0x78543AE6 and returned NULL. Error: The specified
procedure could not be found (127).
GetProcAddress(0x7C800000 [KERNEL32.DLL], "FlsFree") called from
"MSVCR90.DLL" at address 0x78543AF3 and returned NULL. Error: The specified
procedure could not be found (127).
GetProcAddress(0x7C800000 [KERNEL32.DLL], "EncodePointer") called from
"MSVCR90.DLL" at address 0x785435E2 and returned 0x7C9133FF.
GetProcAddress(0x7C800000 [KERNEL32.DLL], "EncodePointer") called from
"MSVCR90.DLL" at address 0x785435E2 and returned 0x7C9133FF.
.
.
GetProcAddress(0x755C0000 [MSCTFIME.IME], "NotifyIME") called from
"IMM32.DLL" at address 0x76397324 and returned 0x755D9507.
GetProcAddress(0x755C0000 [MSCTFIME.IME], "ImeSetCompositionString") called
from "IMM32.DLL" at address 0x7639733C and returned 0x755D946D.
GetProcAddress(0x755C0000 [MSCTFIME.IME], "ImeGetImeMenuItems") called from
"IMM32.DLL" at address 0x76397354 and returned NULL. Error: The specified
procedure could not be found (127).
GetProcAddress(0x755C0000 [MSCTFIME.IME], "CtfImeInquireExW") called from
"IMM32.DLL" at address 0x76397394 and returned 0x755D9548.
GetProcAddress(0x755C0000 [MSCTFIME.IME], "CtfImeSelectEx") called from
"IMM32.DLL" at address 0x763973A8 and returned 0x755D92C5.
.
.
LoadLibraryExW("C:\WINDOWS\system32\btmmhook.dll", 0x00000000,
LOAD_WITH_ALTERED_SEARCH_PATH) returned 0x009B0000.
DllMain(0x78520000, DLL_PROCESS_ATTACH, 0x0012FD30) in "MSVCR90.DLL"
returned 0 (0x0).
Second chance exception 0xC0000142 (DLL Initialization Failed) occurred in
"NTDLL.DLL" at address 0x7C9666C6.
Exited "HELLOWORLDCLIENT.EXE" (process 0x1188) with code -1073741502
(0xC0000142).

(The errors parts are in bold)

MSVCR90.dll has a dependency on IMM32.dll (from what I can see). 

I do not know how to proceed here and solve this exception. I request you to
please help me out. 

Thanks in advance, 
Regards,
Harsha Reddy

-- 
View this message in context: http://old.nabble.com/Axis-C%2B%2B-run-time-exception-%28DLL-Initialization-Failed%29-tp28729545p28729545.html
Sent from the Axis - C++ - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-user-unsubscribe@axis.apache.org
For additional commands, e-mail: c-user-help@axis.apache.org


Mime
View raw message