Hi All,
Is it possible to call methods of C++ COM ATL component from C# SSIS component?
I did try to call methods of C++ COM ATL component and C# library inside my SSIS but without success :-(
Regards,
Svilen Varbanov
Sure, but you have to build the interop assembly with tlbimp.exe.
http://msdn2.microsoft.com/en-us/library/1w557csx.aspx
Kirk Haselden
Author "SQL Server Integration Services"
Hello Kirk,
I imported the tlb as described in the articles, but still i can't call method from my COM component :-(
There is a button in the GUI of my SSIS; here is code snippet:
MyComClass c = new MyCOMClass();
c.ShowMessageBox();
c = null;
But when I press the button the entire form disappears.
I tried to show a message box too:
System.Windows.Forms.MessageBox.Show( "HELLO" );
The form disappears too.
I get lost :-( Please, help!
Thanks!
Regards,
Svilen Varbanov
No comments:
Post a Comment