Skip to content

Example Win32 load errors

Peter Foot edited this page Mar 31, 2017 · 1 revision

Test output: "Didn't find 32feetWidcomm.dll!" file → No 32feetWidcomm.dll present.

Test output: "Didn't get radio address!" → No Widcomm stack/dongle installed.

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.

With 32feetWidcomm.dll not present.

{{ 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!"

32feetWidcomm.dll present.

But the machine does not have Widcomm installed Also the x64 VC++ libraries not installed.

  1. 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.

  1. 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...

  1. 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".

  1. 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".

Clone this wiki locally