I'm Building a user mode component modeled on the user component of minispy
As I understand this, I need to build this with BUILD tool.
The bit that I'm building will be a DLL that will hook up to other stuff...
So when I use BUILD and the OSR ddkbuild tool in a very generic way,
specifing TARGETNAME=NvDrvComm
TARGETTYPE=DYNLINK
UMTYPE=windows
USE_MSVCRT=1
C_DEFINES=$(C_DEFINES) -DUNICODE -D_UNICODE -DNVDRVCOMM_EXPORTS
LINKLIBS=$(SDK_LIB_PATH)\shell32.lib
INCLUDES=$(INCLUDES); \
$(IFSKIT_INC_PATH); \
$(DDK_INC_PATH); \
..\inc
TARGETLIBS=$(TARGETLIBS) \
$(IFSKIT_LIB_PATH)\fltLib.lib \
$(IFSKIT_LIB_PATH)\kernel32.lib \
$(IFSKIT_LIB_PATH)\ntdll.lib
SOURCES=NvDrvComm.cpp\
NvDrvComm.rc
!if "$(DDK_TARGET_OS)"=="WinLH"
_NT_TARGET_VERSION=$(_NT_TARGET_VERSION_WINXP)
!endif
But the build is complaining that it cannot find the DEF file. This creates
an error. I built a DEF file by hand and that stopped the BUILD from
complaining about the missing def file.
BUT this project is on going and if I'm already using the declspec
attributes for the things I need to export, why is BUILD complaining about
the DEF file?
I'd hate to think that I'll need to rewrite the def file everytime I want to
add another export!?
--
Gak -
Finecats