T O P I C R E V I E W |
compagnon@1 |
Posted - 11/01/2002 : 11:24:29 AM For data acquisition I execute a script after each DDE transfer (from visualC++ to Origin). If an error occurs in the execution of the script, I want to abort and wait for the next data transfer. My questions are: 1)Where I have to define the ErrorProc macro ? (only one time ? or before each execution of the script ? or inside the script ?) 2)When does the definition is deleted ? (after each execution of the script? after an error ?)
Thank you for your help Isabelle
|
1 L A T E S T R E P L I E S (Newest First) |
cpyang |
Posted - 11/01/2002 : 8:03:41 PM ErrorProc is always self destructed, so it is always deleted after it is invoked, so 1) before each execution of script, best as 1st statement in your script. 2) after an error
CP
|
|
|