Hi All
I'm using the project manager to find all files that should go into an EXE. By examining the project in a program Doug Hennig made for a FoxTalk article (I only helped test it), I can determine which files have changed, order winzip to zip these and eventually email them to my client. That part is so smooth.
Occasionally, I forget to do a rebuild of the project and some newly created files are not zipped. You're probably thinking "All you should have to do is make the project object Build()". Hah! Its never *THAT* easy <g>! According to the docs, oProj.Build() will return .F. if an error occurs.
To test this, I added the line
External Class NotThere.VCX
to my main.prg. If I suppress "displaying" the error, oProj.Build() returns .T. even though there is an error. If I allow the error to display, I get a .F. only when I cancel the build.
1) do you find the same results?
2) can you suggest a work around?
Thanks!