I have coded a RAS Admin DLL that exports only the function RasAdminGetIpAddressForUse
r(), but I can't seem to get RAS to start when the registry keys are added. The registry keys are written as per instructions at http://www.microsoft.com/msdn/sdk/platforms/doc/sdk/win32/func/src/f69_19.htm
, as follows:
"DisplayName"="Trial IP DLL"
I've built the DLL (no errors, no warnings) using VC++5, and written a .DEF file that's included in the project as follows:
DESCRIPTION "Assigns a fixed IP address by COM Port number"
So the question is - I'm fairly new to DLL programming, so this may well be simple - why doesn't RAS load it? The error in the event log is event ID 20104, data 7f 00 00 00.