Hello!
I have a dll library (AXACAC.dll) whuch was made in VS project. This dll exports one function:
__declspec(dllexport) void CreateRasterFile (const char *pszFormat, const char *pszDstFilename)
{}
And I try to import this function in the DDK sample - unidrv interface plug-in:
__declspec(dllimport) void CreateRasterFile (const char *, const char *);
In my src file I include my *.lib file as:
TARGETLIBS= ..\AXACAC.lib
But when I try to build DDK sample I have the following error:
error LNK2019: unresolved external symbol __imp__CreateRasterFile@8 referenced in function _OEMSendPage@4
..\..\i386\VPrinter.dll : fatal error LNK1120: 1 unresolved externals
Could you suggest something? May be you have ever had the same problems...