Hello Newsgroup!
I am new to building drivers. My project is to develop an accounting
print processor for PostScript print drivers. In my opinion it is the
best way to account the job in the print processor where the data goes
to printer port. Is there a better way?
I am modifying the src\print\genprint\raw.c file in the loop where we
are sending the data. I'm trying to read in the data stream for PS
EndPage commands.
For this a wanted to do some debugging output, so i wanted to write it
in a file. fopen(), fwrite() and so on.
I have included the <stdio.h> and the compiling is fine. But on linking
i get an error:
BUILD: Linking e:\winddk\2600~1.110\src\print\genprint directory Linking
Executable - objchk_w2k_x86\i386\genprint.dll for i386
raw.obj : error LNK2019: unresolved external symbol __imp__fopen
referenced in function _PrintRawJob@12
objchk_w2k_x86\i386\genprint.dll : error LNK1120: 1 unresolved externals
BUILD: Done
Then i tried to include the libcpmt.lib in the sources file. But is the
same error. What i'm doing wrong?
--
Best regards,
Lucas Pleß
heddier electronc GmbH