Unanswered: DTS use of TPackage object instead of _Package interface
I curently have a DTS package ( CoPackage interface - defined in
DTS_TLB.pas ) which works fine.
I would like to make use of the feedback properties OnStart, OnProgress,
OnFinish etc that the TPackage object provides instead.
Has anyone any example code of how to do this?.
At the moment, I am creating a TPackage object and calling ConnectTo (
passing in the CoPackage interface that worked before ) and then call the
execute method of TPackage ( No events setup as yet ), but always get an AV
at the point of caling Execute. Any ideas?, I have searched Google and found
many similar problems but no definitive solution.
Maybe I need to set the executeInmainThread property of all steps in the