puff
asked on
How do I check if the DLC protocol is installed on the system?
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
LLC_DIR_OPEN_ADAPTER with:
"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.
Questions:
How do I detect if the DLC protocol is installed?
How do I detect the number of adapters installed in
the computer?
How do I check if the adapters have bindings to the DLC protocol?
NOTE:
Win95 requires a special version of the DLC protocol called
MSDLC32. It is available for download at Microsoft. MSDLC32
needs a patch called DLC32UPD.
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
LLC_DIR_OPEN_ADAPTER with:
"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.
Questions:
How do I detect if the DLC protocol is installed?
How do I detect the number of adapters installed in
the computer?
How do I check if the adapters have bindings to the DLC protocol?
NOTE:
Win95 requires a special version of the DLC protocol called
MSDLC32. It is available for download at Microsoft. MSDLC32
needs a patch called DLC32UPD.
Don't Know but I would check the microsoft knowledge base for the error codes and see what that tells you
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Are you using Win95 compliant calls?