Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic Rhapsody (steve huntington)
Decrease font size
Increase font size
Topic Title: using Rhapsody API in C# Studio Express Edition
Topic Summary:
Created On: 14-Feb-2008 16:44
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 14-Feb-2008 16:44
User is offline View Users Profile Print this message


Thomas Feister

Posts: 1
Joined: 7-Feb-2008

I want to use the Rhapsody API in C#. To do so I tryed to add the rhapsody.dll by choosing "Tools->Choose toolbox items..." and then under COM components to browse for rhapsody.dll.

But I only get the error "Self-registration for rhapsody.tlb failed."

Under Delphi I could import the type library, how can I do this using C#?

Thanks,
Thomas
Report this to a Moderator Report this to a Moderator
 12-Mar-2008 11:45
User is offline View Users Profile Print this message


Mike Pagel

Posts: 4
Joined: 27-Mar-2006

Hey Thomas,

in your C# project, add a dependency to the "rhapsody" COM object. That'll do the trick.

Mike

PS: Among other things I used this technique in this article: http://www.codeproject.com/KB/cs/CustomCodeGenRiC1.aspx
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic Rhapsody forum.
There are currently 1 users logged in.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.