How do I check if the DLC protocol is installed on the system?
Posted on 1997-06-25
Im working on a program that uses the DLC protocol to
communicate with an external device. This works fine
both on WinNT and Win95.
However if I remove the DLC protocol from Win95,
and try running the code, Win95 responds to an
"First-Chance Exception in <executable> (DLCAPI.DLL):
0xC00000005: Access Violation"
on WinNT, ACSLAN returns ACS_LAN_CBB_IN_ERROR.
In the CCB the uchDlcStatus field is set to
0x5e -> "Requested adapter is not installed"
The conclution must be that MSDLC32 is erroneous, when it
comes to detecting whether the adapter is accessible or not.
How do I detect if the DLC protocol is installed?
How do I detect the number of adapters installed in
How do I check if the adapters have bindings to the DLC protocol?
Win95 requires a special version of the DLC protocol called
MSDLC32. It is available for download at Microsoft. MSDLC32
needs a patch called DLC32UPD.