.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old October 4th, 2005, 01:31 PM
steamer25 steamer25 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2005
Posts: 1 steamer25 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 m
Reputation Power: 0
Talking COM Interop advice?

Please comment on the following line of thought assumptions (TIA):

Given: I am trying to write an add-in for a COM-based application. Due to limitations in the add-in SDK, once the add-in is written I need to manually add a registry entry for the ProgID of my .Net assembly.

In order to get a ProgID, I need to run RegAsm

RegAsm can either reference the assembly via the GAC or the codebase (filesystem location)

Loading the assembly in the GAC requires a strong name.

Using RegAsm with the codebase option requires a strong name.

In order to give my assembly a strong name, each of the referenced assemblies (including COM interop assemblies) must also have a strong name.

If I use tlbimp with the /key option, I can generate strong-named COM interop assemblies for the SDK type libraries.

When I do this, I am unable to implement one of the methods on a required interface because 'there is no matching sub' on the interface. This is in spite of the fact that IntelliSense detects the underlying method. It is also interesting to note that tlbimp generates a number of warnings while creating the interop assembly.

Apparently, creating add-ins for this application has been done in .Net but I am getting little support in the vendor's own forums. I am wondering if my line of thinking is accurate and if anyone here has any ideas that would help.

Thanks again,
Steamer25

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgramming.NET Development > COM Interop advice?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway