Hi Guys!
Good day! I am currently developing a printer driver based on the samples
provided in the WDK. I was able to build and integrate a TIFF library so that
my output will be in TIFF rather than in Bitmap. My problem now is that I am
trying to put a custom property sheet in the printer driver but i am getting
these errors (see error snippet). I have already included the required
headers for the property sheet (see header snippet) but I am still getting
these errors.
I am building the code using the Windows XP checked Build Environment
provided in the WDK.
Any ideas?
Thank you!
********Error snippet***********
errors in directory c:\winddk\3790~1.183\src\print\oemdll\redmapprinter
c:\winddk\3790.1830\src\print\oemdll\redmapprinter\oemui.h(39) : error
C2061: sy
ntax error : identifier 'POEMCUIPPARAM'
c:\winddk\3790.1830\src\print\oemdll\redmapprinter\oemui.h(40) : error
C2061: sy
ntax error : identifier 'IPrintOemDriverUI'
Compiling - enable.cpp for i386
Compiling - generating code... for i386
Building Library -
c:\winddk\3790~1.183\src\print\oemdll\i386\redmapprinter.lib
for i386
LIB : error LNK1181: cannot open input file 'objchk_wxp_x86\i386\devmode.obj'
BUILD: Compile errors: not linking
c:\winddk\3790~1.183\src\print\oemdll\redmapp
rinter directory
BUILD: Done
8 files compiled - 1 Warning - 2 Errors
1 library built - 1 Error
C:\WINDDK\3790~1.183\src\print\oemdll\RedmapPrinter>
******Header Snippet*******
#include <STDDEF.H>
#include <STDLIB.H>
#include <OBJBASE.H>
#include <STDARG.H>
#include <STDIO.H>
#include <WINDEF.H>
#include <WINERROR.H>
#include <WINBASE.H>
#include <WINGDI.H>
#include <WINDDI.H>
#include <WINSPOOL.H>
#include <TCHAR.H>
#include <EXCPT.H>
#include <ASSERT.H>
#include <PRSHT.H>
#include "COMPSTUI.H"
#include <WINDDIUI.H>
#include <PRINTOEM.H>
#include <PRCOMOEM.H>