I am trying to develop a port redirection as an add-on to my company’s workflow product; the aim being to allow printing directly into the workflow.
I have got the MSDN localmon and localmonui code compiled and linked in VS2013 using the Windows 8.1 WDK, hindered only by the documentation - the paucity thereof and inaccuracy of what is present, and have an installer script that compiles to an installer that installs and and registers the dlls.
My problem comes when I try and create a new printer port using the dlls via the AddPrinter dialog.
I select my new port type from the list and click next at which point I get a dialog which, helpfully, says “Specified port cannot be created. The system cannot find the file specified.”
It would be really, really useful if it could have told me which file it could not find and where it was looking for it.
Can anybody point me at documentation, etc that can help me get past this step and get to a point where I can actually create a printer using my port?
Thanks,
Peter