On Tue, 04 May 2010, Heinz V Bergen wrote: Hi,
> Error occurs on the Return() of the function and all processes within were > completed successfully. The function creates Directories, copies files, > creates an FTP script, calls external RUN to PkZip and FTP and then erases > files and removes directories, thought maybe RUN calls were the culprit, so > I have bypassed PKZIP and FTP calls, just replacing with Copy File so > process can continue, and error still occurs. Not sure if posting function > in a usable form will be possible, but I will continue trying to narrow it > down and see if I can come up with something. One item of note though, is > that the latest SVN hbmk2 and release 2.0 hbmk2 do create different > application EXE sizes. I know that the error appears on RETURN but it means that somewhere earlier some value was wrongly removed from HVM stack. It can be _any_ PRG construction executed before the RETURN statement. If you can remove some code from your function then it may help to locate the place where is the critical code which is the reason of problem. You can also send this function to me and maybe I'll be able to find the problem without code reduction only looking at PRG constructions used by you. best regards, Przemek _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour