-
-
Notifications
You must be signed in to change notification settings - Fork 211
Example Win32 load errors
Event Log: "Dependent Assembly Microsoft.VC80.CRT" (with Did && Didn't for 32feetWidcomm.dll) → Install VC++ libraries.
Test app crashes and Event Log: "Faulting module name: KERNELBASE.dll, ..." → Apparently btwapi.dll is missing.
{{ 32feet.NET using Widcomm stack dependency checker tool. We will attempt to load and use the 32feetWidcomm support.
Didn't find 32feetWidcomm.dll file! Didn't find 32feetWidcomm.dll DLL! A dialog box should have reported which dependency is missing, otherwise see the event log. Hit Return to continue> }} Note output "Didn't find 32feetWidcomm.dll file!"
But the machine does not have Widcomm installed Also the x64 VC++ libraries not installed.
- For example on x64 running the x86 test including the btwapi.dll. No Event Logs produced, and the following output. {{ 32feet.NET using Widcomm stack dependency checker tool. We will attempt to load and use the 32feetWidcomm support.
Did find 32feetWidcomm.dll file. :-) Did find 32feetWidcomm.dll DLL. :-) DLL found at >>C:\Users\alan\Documents\Temp\2012-12\32ftwidcomm\x86 all\32feetWidcomm.dll<< Calling init function... 32feet.NET's Widcomm SDK Version : 6.1.0.1506 32feet.NET's Widcomm GetBTWCEVersionInfo error. Success Calling radio address function... Didn't get radio address! Hit Return to continue> }} Note output "Didn't get radio address!" since Widcomm is not installed on this machine.
- And without the btwapi.dll. Crash dialog appears, and the following output. {{ 32feet.NET using Widcomm stack dependency checker tool. We will attempt to load and use the 32feetWidcomm support.
Did find 32feetWidcomm.dll file. :-) Did find 32feetWidcomm.dll DLL. :-) DLL found at >>C:\Program Files (x86)\32feet.NET\Broadcom\Win32-x86\32feetWidcomm.dll<< Calling init function... }} Two Event Log entries are created, one Informational and one Error which includes the following {{ Faulting module name: KERNELBASE.dll, ... }} Note crash and Event Log "Faulting module name: KERNELBASE.dll, ...". That logging's doesn't really help us to realise that the btwapi.dll is missing...
- For example on x64 running the x64 test including the btwapi.dll. The following output. {{ 32feet.NET using Widcomm stack dependency checker tool. We will attempt to load and use the 32feetWidcomm support.
Did find 32feetWidcomm.dll file. :-) Didn't find 32feetWidcomm.dll DLL! A dialog box should have reported which dependency is missing, otherwise see the event log. Hit Return to continue> }} And the following in an Error Event Log entry: {{ Activation context generation failed ... Dependent Assembly Microsoft.VC80.CRT ... }} Note VC++ library missing so Event Log "Dependent Assembly Microsoft.VC80.CRT".
- And without the btwapi.dll. {{ 32feet.NET using Widcomm stack dependency checker tool. We will attempt to load and use the 32feetWidcomm support.
Did find 32feetWidcomm.dll file. :-) Didn't find 32feetWidcomm.dll DLL! A dialog box should have reported which dependency is missing, otherwise see the event log. Hit Return to continue> }} And the following in an Error Event Log entry: {{ Activation context generation failed ... Dependent Assembly Microsoft.VC80.CRT ... }} Note VC++ library missing so Event Log "Dependent Assembly Microsoft.VC80.CRT".
32feet.NET - Personal Area Networking for .NET
In The Hand Ltd