我在WinXp和Vista中用下面方法都可以添加打印处理器
AddPrintProcessor(NULL, NULL, L"YMPrnPro.dll", L"YMPrnPro");
但是在Win7中则不行,返回错误127:找不到指定程序,哪位大侠知道怎么解决吗
AddPrintProcessor(NULL, NULL, L"YMPrnPro.dll", L"YMPrnPro");
但是在Win7中则不行,返回错误127:找不到指定程序,哪位大侠知道怎么解决吗
[in] Pointer to a null-terminated string that specifies the name of the file that contains the print processor. This file must be in the system print-processor directory.
AddPrintProcessor(NULL,NULL,
"C:\WINDOWS\system32\spool\prtprocs\w32x86\mycustompp.dll"
,"mycustompp");
或者试下GetPrintProcessorDirectory找一下 print processor 目录