Re: [OpenSIPStack] ATLSIPLib and Interop.AxATLSIPLib
Brought to you by:
joegenbaclor
From: Whit T. <de...@wh...> - 2007-08-14 18:07:52
|
I think I'm on the right track generating the Interop assemblies here but please correct me if I'm wrong: References: "COM Interop Part 1: C# Client Tutorial" http://msdn2.microsoft.com/en-us/library/aa645736(vs.71).aspx#vcwlkcomintero ppart1cclienttutorialanchor1 "Type Library Importer (Tlbimp.exe)" http://msdn2.microsoft.com/en-us/library/tt0cf3sx(VS.80).aspx "Generating Primary Interop Assemblies" http://msdn2.microsoft.com/en-us/library/dwe56e27(VS.80).aspx So I simply ran this command: C:\NEWSIP\atlsip\Release>tlbimp ATLSIP.dll /out:MyATLSIP.dll Subsequently running: C:\NEWSIP\atlsip\Release>Ildasm MyATLSIP.dll Will show the content (definitions) of this new Interop library. This process creates a new Interop assembly for ATLSIP.dll which can then be used in the project. So by my reasoning, this is how the original Interop.AxATLSIPLib files were/are created. I'm very new to .NET so this assembly stuff is a bit challenging to get my head around. If anyone sees an error in this approach let me know, otherwise perhaps it will help others! Look forward to feedback! Regards, Whit -----Original Message----- From: ope...@li... [mailto:ope...@li...] On Behalf Of Whit Thiele Sent: Tuesday, August 14, 2007 12:35 PM To: ope...@li... Subject: Re: [OpenSIPStack] ATLSIPLib and Interop.AxATLSIPLib Ilian, Where are the Interop dll's created? I've tried looking through the project settings but I can't see where they are being created. It seems (from the datestamps) that the Interop files are being copied from somewhere, not created. Whit <snip> Whit, I take back what I said earlier: "You should only add ATLSIP as a reference. VS will take care of the rest." For some reason, VS *sometimes* doesn't automatically load the AxInterop dll. You may have to manually add this. Make sure all the references to the *Interop dlls are up-to-date. Regards, Ilian > <snip> ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ opensipstack-devel mailing list ope...@li... https://lists.sourceforge.net/lists/listinfo/opensipstack-devel |