Click here to Skip to main content
15,915,739 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionMultiple digital signature for binaries. Pin
birajendu16-Feb-09 18:45
birajendu16-Feb-09 18:45 
QuestionBringWindowtotop function not working Pin
Pryabu16-Feb-09 18:27
Pryabu16-Feb-09 18:27 
AnswerRe: BringWindowtotop function not working Pin
Rajesh R Subramanian16-Feb-09 18:45
professionalRajesh R Subramanian16-Feb-09 18:45 
AnswerRe: BringWindowtotop function not working Pin
Paresh Chitte16-Feb-09 19:51
Paresh Chitte16-Feb-09 19:51 
QuestionRPC Library in Visual Studio 2008 Pin
vijith.squadz16-Feb-09 17:08
professionalvijith.squadz16-Feb-09 17:08 
AnswerRe: RPC Library in Visual Studio 2008 Pin
Stuart Dootson16-Feb-09 21:27
professionalStuart Dootson16-Feb-09 21:27 
QuestionHELP with a C++ project Pin
nathan christian16-Feb-09 12:25
nathan christian16-Feb-09 12:25 
GeneralRe: HELP with a C++ project Pin
Maxwell Chen16-Feb-09 15:50
Maxwell Chen16-Feb-09 15:50 
Question(modeless?)dialog in sdi Pin
cmos16-Feb-09 11:07
cmos16-Feb-09 11:07 
AnswerRe: (modeless?)dialog in sdi Pin
frx9616-Feb-09 15:02
frx9616-Feb-09 15:02 
GeneralRe: (modeless?)dialog in sdi Pin
frx9616-Feb-09 15:05
frx9616-Feb-09 15:05 
AnswerRe: (modeless?)dialog in sdi Pin
frx9616-Feb-09 15:08
frx9616-Feb-09 15:08 
QuestionReplacing or Changing open/save file dialog for winXP and vista Pin
Gilvinit16-Feb-09 9:31
Gilvinit16-Feb-09 9:31 
AnswerRe: Replacing or Changing open/save file dialog for winXP and vista Pin
David Crow16-Feb-09 9:47
David Crow16-Feb-09 9:47 
QuestionPrinting using GDI Pin
Steve_16-Feb-09 8:59
Steve_16-Feb-09 8:59 
AnswerRe: Printing using GDI Pin
Code-o-mat16-Feb-09 10:31
Code-o-mat16-Feb-09 10:31 
GeneralRe: Printing using GDI Pin
Steve_16-Feb-09 10:40
Steve_16-Feb-09 10:40 
AnswerRe: Printing using GDI Pin
frx9616-Feb-09 14:33
frx9616-Feb-09 14:33 
AnswerRe: Printing using GDI Pin
frx9616-Feb-09 14:33
frx9616-Feb-09 14:33 
AnswerRe: Printing using GDI Pin
frx9616-Feb-09 14:36
frx9616-Feb-09 14:36 
AnswerRe: Printing using GDI Pin
«_Superman_»16-Feb-09 18:16
professional«_Superman_»16-Feb-09 18:16 
AnswerRe: Printing using GDI Pin
Iain Clarke, Warrior Programmer18-Feb-09 1:52
Iain Clarke, Warrior Programmer18-Feb-09 1:52 
QuestionHow to compile a native (ie. using NT API instead of Win32) x64 app ? Pin
Defenestration16-Feb-09 7:50
Defenestration16-Feb-09 7:50 
I'm trying to compile the SysInternals Native app[^] for XP x64 (and other Windows x64 ), so I can create an app which can run during boot-time (similar to chkdsk), but am not having much luck. As SysInternals have stopped supplying native.xip, you can get it from

http://www.dowers.net:8080/ftp/Programs/InsideWin2000/Sysinternals-Website/NATIVE.ZIP[^]

I've installed the Windows Server 2003 DDK, and have started a Windows Server 2003 Free x64 Build environment (using the shortcut). I've then copied all the Native sources and makefile to ddk\inc, as instructed to do so at the bottom of the linked article. However, when I run build.exe, I get two identical errors:

C:\WINDDK\3790~1.183\inc>build
BUILD: Adding /Y to COPYCMD so xcopy ops won't hang.
BUILD: Using 4 child processes
BUILD: Object root set to: ==> objfre_wnet_AMD64
BUILD: Compile and Link for AMD64
BUILD: Computing Include file dependencies:
BUILD: Examining c:\winddk\3790~1.183\inc directory for files to compile.
    c:\winddk\3790~1.183\inc - 1 source files (82 lines)
BUILD: Saving C:\WINDDK\3790~1.183\build.dat...
BUILD: Compiling (NoSync) c:\winddk\3790~1.183\inc directory
1>errors in directory c:\winddk\3790~1.183\inc
1>c:\winddk\3790~1.183\bin\makefile.new(1106) : error U1050: Setting TARGETPATH=
 C:\WINDDK\3790~1.183\lib in .\sources is not valid - please use obj.
BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1 NOPASS0=1 PA
SS1_NOLIB=1 AMD64=1 failed - rc = 2
BUILD: Compiling  c:\winddk\3790~1.183\inc directory
100>c:\winddk\3790~1.183\bin\makefile.new(1106) : error U1050: Setting TARGETPAT
H= C:\WINDDK\3790~1.183\lib in .\sources is not valid - please use obj.
BUILD: nmake.exe failed - rc = 2
BUILD: Compile errors: not linking c:\winddk\3790~1.183\inc directory
BUILD: Done

    0 files compiled - 2 Errors


What exactly does the error mean ?

1>c:\winddk\3790~1.183\bin\makefile.new(1106) : error U1050: Setting TARGETPATH=
 C:\WINDDK\3790~1.183\lib in .\sources is not valid - please use obj.


How can I fix it ?

Is there any good information on how to correctly setup a build environment for building native apps for both x86 and x64 ?
AnswerRe: How to compile a native (ie. using NT API instead of Win32) x64 app ? Pin
Richard Andrew x6416-Feb-09 16:30
professionalRichard Andrew x6416-Feb-09 16:30 
AnswerRe: How to compile a native (ie. using NT API instead of Win32) x64 app ? Pin
«_Superman_»16-Feb-09 18:19
professional«_Superman_»16-Feb-09 18:19 

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.