PDA

View Full Version : Build Step just hangs?


smeadows
07-26-2007, 04:51 PM
Hi,

I have got a Run Program step that just executes a simple exe that opens a text file, makes a change to it and then saves and closes it.

I have watched the exe run and complete through windows processes. I have verified that the text file was updated.

The problem comes from Visual Build Pro. It doesn't seem to acknowledge that the exe has completed. It just sits on the step with a build status of building...

I have left the process for an hour and it still never acknowledged completion. I have put a timer in the exe to slow it down thinking that it was finishing before Visual Build Pro got started, so to speak. Still nothing.

It doesn't matter what I try to do to get it to work. Visual Build Pro. just hangs there waiting for something to complete that has already completed.

Any suggestions?

thx

kinook
07-26-2007, 10:29 PM
The Run Program action waits for GetExitCodeProcess (http://msdn2.microsoft.com/en-us/library/ms683189.aspx) to return something other than STILL_ACTIVE (259). Is your process by some chance returning that exit code?

smeadows
07-26-2007, 11:03 PM
Yes, Yes it is....

thx for the quick reply

kinook
07-27-2007, 08:26 AM
It's actually a bug that it doesn't handle an exit code of 259 properly (amazingly, nobody ran into it before now). The latest download at http://www.kinook.com/Download/VisBuildProEval.exe has been updated with a fix for this issue (VisBuildBld.dll v6.4.0.4).