by byron.hopp » Sat May 19, 2012 5:50 pm
Update, I went in Antonio's direction, and although I could not get xBuild.bat to work on my workstation, I did get a batch file to compile, and link.
So I am up and running, here is an example:
xhb.exe -o"EtDe.c" -m -n -p -q -gc0 -I"C:\fwh\include" -I"c:\xHb\include" -I"c:\xHb\include\w32" "EtDe.PRG" > Output.log
xhb.exe -o"Funcs.c" -m -n -p -q -gc0 -I"C:\fwh\include" -I"c:\xHb\include" -I"c:\xHb\include\w32" "Funcs.prg" >> Output.log
xrc.exe -fo"ETDE.res" -I"c:\xHb\c_include" -I"c:\xHb\c_include\win" "ETDE.RC" >> Output.log
xlink.exe -NOEXPOBJ -MAP -FORCE:MULTIPLE -NOIMPLIB -subsystem:windows -UNMANGLE -LIBPATH:"c:\xHb\lib" -LIBPATH:"c:\xHb\c_lib" -LIBPATH:"c:\xHb\c_lib\win" -LIBPATH:"C:\fwh\lib" "EtDe.obj" "Funcs.obj" "ETDE.res" c:\fwh\lib\mcsfivex.lib FiveHCM.lib FiveHMX.lib OptG.lib xhb.lib dbf.lib ntx.lib cdx.lib rmdbfcdx.lib activex.lib crt.lib kernel32.lib user32.lib winspool.lib ole32.lib oleaut32.lib odbc32.lib odbccp32.lib uuid.lib wsock32.lib ws2_32.lib wininet.lib advapi32.lib shlwapi.lib comctl32.lib comdlg32.lib gdi32.lib shell32.lib winmm.lib lz32.lib Netapi32.lib -out:"etde.exe" >> Output.log
I am hopefully going to work with Tim to see why my xBuildw.exe does not run on Windows 7.
Thank you everyone for your help, Tim, look forward to your input.
Byron ...
Thanks,
Byron Hopp
Matrix Computer Services