Hi Everyone- I've written a C++ .NET application from examples in C# on the
web in order to run a SQL Server DTS package right from a C++ app. I've
gotten it to work with no problems. However, now I'm trying to monitor the
package's execution so that I will know if it sucessfully ran or not etc.
I'm not a COM or MFC programmer and have had trouble finding examples of how
to do this in C++ .NET. Here is the page I'm referencing:
http://support.microsoft.com/default...b;en-us;319985.
Does anyone know what the C++ .NET equivalent of the following C# code would
be:
UCOMIConnectionPointContainer CnnctPtCont = (UCOMIConnectionPointContainer)
package;
UCOMIConnectionPoint CnnctPt;
PackageEventsSink PES = new PackageEventsSink ();
Guid guid = new Guid("10020605-EB1C-11CF-AE6E-00AA004A34D5"); // UUID of
PackageEvents Interface
CnnctPtCont.FindConnectionPoint(ref guid, out CnnctPt);
int iCookie;
CnnctPt.Advise(PES, out iCookie);
I appreciate any help or guidance.
Thanks,
Jon