Link to home
Start Free TrialLog in
Avatar of sridhar_dvjs
sridhar_dvjs

asked on

Exception 0xC0000008 in NTDLL.DLL

I have created 2 DLLs A and B. A loads B with LoadLibrary call. B calls Oracle 7.3 OCI. My application uses the first DLL (i.e. A). While debugging my application on Visual C++ 5.0 on NT 4.0 Sp3, I get an exception 0xC0000008 in NTDLL.DLL at 77F76408. Bounds checker reported the error at WaitForSingleObject call (invalid handle). However, if I run the same application from console (MS DOS promt) it goes through. Do I need to compile/link with any special project settings?
ASKER CERTIFIED SOLUTION
Avatar of jkr
jkr
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Ooops
>>within the 'kernel32.dll'
should of course read
within the 'ntdll.dll'
Avatar of sridhar_dvjs
sridhar_dvjs

ASKER

The exception was caused by Oracle OCI call olog. I used EXCEPTION_CONTINUE_EXECUTION and it works fine. Thanks a lot.