Posted: Fri Jul 24, 2009 4:52 am
Linda - please edit your post and enclose it in code tags so that the indentation isn't lost.
It is returning a 0 because the call to DSDetachJob() is successful. You will need to use the result of DSRunJob() for the return code.
Also, instead of the IF-THEN construct, you can do a simple
It is returning a 0 because the call to DSDetachJob() is successful. You will need to use the result of DSRunJob() for the return code.
Also, instead of the IF-THEN construct, you can do a simple
Code: Select all
JobHandle = DSPrepareJob(JobHandle)