Solved the problem, the issue was that the 2003 WDK was creating w32X64 dlls
instead of wX64. Solved by using the 7.0.0 WDK.
"Steve" wrote:
> We developed a custom print process based on the Winprint/Genprint. It has
> worked on 32bit platforms without any issues for over 10 years now. We
> recently attempted a X64 deployment of the custom print processor. Using
> 2003 WDK on a machine running Windows 2003 Server (32 bit) we built the IA64
> bit dll. During installation of the IA64 dll the "AddPrintProcessor" fails
> with error 193 and reports "unknown system error".
>
> Just for a sanity check I compiled the WDK sample genprint print processor
> and attempted to install it’s IA64 dll which failed with the same error.
>
> I found Microsoft support article (#242395) and added to the linker flags
> “/FIXED:no” which resulted in a larger DLL file and same install failure.
>
|