Hi,
I am using attributed COM. This means that before my interfaces and classes I have the following code:
[
object,
uuid("76713711-15B4-4AA9-AAC5-73431671EBCA"),
helpstring("IFoo Interface"),
pointer_default(unique)
]
__interface IFoo : IUnknown
{
}
or
[
coclass,
threading("both"),
support_error_info("IFoo"),
event_source("com"),
vi_progid("Foo.CFoo"),
progid("Foo.CFoo.1"),
version(1.0),
uuid("1FC9DD93-B7D4-4B5E-A649-CE6AE15FFC5B"),
helpstring("CFoo Class")
]
class ATL_NO_VTABLE CFoo:
public IFoo
{
};
When converting from code to EA the converstion is OK, but when updating the model and then generate the code the attribute part gets deleted. I can't use the code generation templates since I need to create the code with a special GUID (i.e. a unique key).
Any suggestions?
Thanks,
Roni.