![]() |
Telelogic Rhapsody (steve huntington) | ![]() |
Topic Title: Problem generating a COM Library Topic Summary: Created On: 28-Sep-2007 14:10 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Apologies - whatever way I navigated to the Rhapsody board, I overlooked the Rhapsody General board. I am moving this thread there.
[SIZE=1]I have a model with a number of components. Component A has (amongst other things) a Package "CustomTypes" which contains a type "BYTE" (typedef unsigned char). Component B is a COM Library with a single Package containing a number of COM Interfaces. "CustomTypes" is not in Scope for Component B. One of the Interfaces in Component B has a method ForceAtrLength(BYTE bLength) - BYTE in this case being the COM UI1 type not the "CustomTypes" BYTE. "CustomTypes" is not in scope for Component B. Component B fails to build as it generates an idl file for the interface containing ForceAtrLength with the statement "#include "CustomTypes.idl". Any ideas how to works around this issue? Incidently, there's a second method in Component B SetSimAtr(SAFEARRAY(BYTE)). The component builds fine if ForcesAtrLength is removed (& SetSimAtr remains).[/SIZE] |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.