A sample Win32 program (here: 32bit) retrieving LPT port addresses in user mode works well from Win98 upto Win7/64 but breaks on Windows 8.
Here is the source code snippet:
http://www-user.tu-chemnitz.de/~heha/viewzip.cgi/hs_freeware/inpout32-h%23s.zip/2013/LptGetAddr.c?auto=C
The function CM_Get_First_Log_Conf() returns CR_CALL_NOT_IMPLEMENTED here, and no address can be retrieved. Surprisingly, CM_Open_DevNode_Key(), called before using the same input parameter <devInfo.DevInst>, returns successfully.
What's wrong? Obviously it's a Windows8 bug, but how to cope with this?
henni