Einzelnen Beitrag anzeigen

Neotracer64

Registriert seit: 27. Okt 2004
292 Beiträge
 
Delphi 7 Professional
 
#6

Re: DDKWizard - nur was für Faule ;)

  Alt 11. Aug 2007, 18:06
Ich finde DDKWizard richtig praktisch.
Klappt auch alles wunderbar, nur habe ich ein problem.
Die Fehlersuche erweist sich als problematisch.

Ich habe zum Beispiel folgenden Fehler gemacht:
Delphi-Quellcode:
UNICODE_STRING      usName;
WCHAR KeyName;
...
RtlInitUnicodeString(&usName,KeyName);
Es muss natürlich ein Pointer zu WCHAR sein also &KeyName.
Aber davon stand weit und breit nichts im Buildlog.
Was habe ich falsch eingestellt?

Zitat:
------ Build started: Project: test2.WLH, Configuration: WLH checked (PREfast) Win32 ------
Performing Makefile project actions
OSR DDKBUILD.CMD V7.0 RC1 (2007-05-30) - OSR, Open Systems Resources, Inc.
DDKBLD: Clearing %VS_UNICODE_OUTPUT% ...
DDKBLD: WLH (checked) using the Windows Vista/Longhorn Server DDK and %WLHBASE%
DDKBLD: Directory: G:\WinDDK projects\test2\test2 + argument(s): -cZ -prefast
DDKBLD: WLHBASE: G:\WinDDK
DDKBLD: Run prefast build -Ze -cZ -e for checked version in .
path contains nonexistant c:\windows\syswow64, removing
BUILD: Compile and Link for x86
BUILD: Start time: Sat Aug 11 19:01:33 2007
BUILD: Examining g:\winddk~2\test2\test2 directory for files to compile.
g:\winddk~2\test~1\test~1
BUILD: Compiling and Linking g:\winddk~2\test2\test2 directory
Compiling resources - drvversion.rc
Compiling - test2.cpp
Compiling - test2.cpp
Linking Executable - objchk_wlh_x86\i386\test2.sys
errors in directory g:\winddk~2\test2\test2
link : error LNK1181: cannot open input file 'objchk_wlh_x86\i386\test2.obj'
BUILD: Finish time: Sat Aug 11 19:01:42 2007
BUILD: Done
5 files compiled - 1 Warning
1 executable built - 1 Error
DDKBLD: The PREfast logfile is "PREfast_defects_chk_wlh_x86.xml"!
DDKBLD: Build complete
DDKBLD: Building browse information files
Build log was saved at "file://g:\WinDDK projects\test2\test2\BuildLog.htm"
test2.WLH - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
  Mit Zitat antworten Zitat