Click here to Skip to main content
15,887,676 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Events waiting on c++ Pin
shiranraviv12-Oct-09 21:06
shiranraviv12-Oct-09 21:06 
QuestionRe: Events waiting on c++ Pin
CPallini12-Oct-09 21:15
mveCPallini12-Oct-09 21:15 
AnswerRe: Events waiting on c++ Pin
shiranraviv12-Oct-09 21:44
shiranraviv12-Oct-09 21:44 
AnswerRe: Events waiting on c++ Pin
Rajesh R Subramanian12-Oct-09 21:15
professionalRajesh R Subramanian12-Oct-09 21:15 
Questionshift oerator Pin
hrishiS12-Oct-09 20:14
hrishiS12-Oct-09 20:14 
AnswerRe: shift oerator Pin
CPallini12-Oct-09 20:58
mveCPallini12-Oct-09 20:58 
GeneralRe: shift oerator Pin
hrishiS12-Oct-09 21:19
hrishiS12-Oct-09 21:19 
QuestionLinker problem with WinDDK Pin
sashoalm12-Oct-09 20:05
sashoalm12-Oct-09 20:05 
Hi,

I'm trying to create a driver, for which I use WinDDK 7600.16385.0

But when I add a *.lib file, the linker still gives "unresolved external symbol" errors the same as if I haven't added it at all. I know the linker looks for the *.lib file, because I checked - I renamed the lib file to something else and the linker immediately complained that it can't find it. Does anyone here know what might be the problem?

I've referenced the lib file and the include files' dir in the sources file of the driver:

TARGETNAME=driver_drv
TARGETPATH=obj
TARGETTYPE=DYNLINK
TARGETLIBS=$(SDK_LIB_PATH)\winspool.lib \
           $(SDK_LIB_PATH)\user32.lib   \
           $(SDK_LIB_PATH)\kernel32.lib \
           $(SDK_LIB_PATH)\advapi32.lib \
           $(DDK_LIB_PATH)\umpdddi.lib  \
           $(SDK_LIB_PATH)\comdlg32.lib \
           $(SDK_LIB_PATH)\ntdll.lib    \
           $(SDK_LIB_PATH)\win32k.lib   \
           $(SDK_LIB_PATH)\gdi32.lib    \
---->      C:\MYLIB.LIB        <---------------------------------------------- See here
		   
USE_MSVCRT=1
USE_STL=1
USER_C_FLAGS=/EHsc 

DLLDEF=driver.def
DLLORDER=driver.prf
DLLENTRY=_DllMainCRTStartup

INCLUDES=C:\MYLIB\Include      <---------------------------------------------- See here

C_DEFINES=$(C_DEFINES) -DSTRICT -DUNICODE -D_UNICODE -DUMODE -DUSERMODE_DRIVER

C_DEFINES=$(C_DEFINES) -DWIN32 -D_CONSOLE -D_VISUALC_ -DNeedFunctionPrototypes -D_DLL



NTPROFILEINPUT=yes
MSC_WARNING_LEVEL=$(MSC_WARNING_LEVEL) /WX /W3

SOURCES=driver.cpp \
        driver.rc


There is sufficient light for those who desire to see, and there is sufficient darkness for those of a contrary disposition.
Blaise Pascal

AnswerRe: Linker problem with WinDDK Pin
thready6-Feb-10 7:58
thready6-Feb-10 7:58 
GeneralRe: Linker problem with WinDDK Pin
sashoalm6-Feb-10 8:05
sashoalm6-Feb-10 8:05 
GeneralRe: Linker problem with WinDDK Pin
thready6-Feb-10 8:11
thready6-Feb-10 8:11 
GeneralRe: Linker problem with WinDDK Pin
sashoalm6-Feb-10 8:16
sashoalm6-Feb-10 8:16 
GeneralRe: Linker problem with WinDDK Pin
thready6-Feb-10 8:28
thready6-Feb-10 8:28 
GeneralRe: Linker problem with WinDDK Pin
sashoalm6-Feb-10 8:41
sashoalm6-Feb-10 8:41 
GeneralRe: Linker problem with WinDDK Pin
thready6-Feb-10 8:53
thready6-Feb-10 8:53 
GeneralRe: Linker problem with WinDDK Pin
sashoalm6-Feb-10 9:22
sashoalm6-Feb-10 9:22 
Questionhow to capture event in a dialog dll in application Pin
Vijeesh Theningalaedathil12-Oct-09 18:09
Vijeesh Theningalaedathil12-Oct-09 18:09 
AnswerRe: how to capture event in a dialog dll in application Pin
Naveen12-Oct-09 18:34
Naveen12-Oct-09 18:34 
GeneralRe: how to capture event in a dialog dll in application Pin
Vijeesh Theningalaedathil13-Oct-09 2:31
Vijeesh Theningalaedathil13-Oct-09 2:31 
QuestionRe: how to capture event in a dialog dll in application Pin
Rajesh R Subramanian12-Oct-09 19:33
professionalRajesh R Subramanian12-Oct-09 19:33 
AnswerRe: how to capture event in a dialog dll in application Pin
sashoalm12-Oct-09 20:08
sashoalm12-Oct-09 20:08 
GeneralRe: how to capture event in a dialog dll in application Pin
Rajesh R Subramanian12-Oct-09 20:11
professionalRajesh R Subramanian12-Oct-09 20:11 
QuestionI want to know some c libraries Pin
Dengjin_CN12-Oct-09 16:33
Dengjin_CN12-Oct-09 16:33 
AnswerRe: I want to know some c libraries Pin
«_Superman_»12-Oct-09 18:01
professional«_Superman_»12-Oct-09 18:01 
GeneralOT Pin
Naveen12-Oct-09 18:38
Naveen12-Oct-09 18:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.