How to Use structs in COM interfaces when Automation
compatibility is not an issue?
Answer / krishna akkulu
Structs, also known as User Defined Types (UDTs), can be
used in Automation- compatible interfaces
An Automation- compatible struct may contain only primitive
Automation types as its members.
Nesting structs is not allowed, but VARIANT is allowed thus
enabling nested structs (you can store a struct in a
In order for a struct to be usable for Automation-
compatible interfaces, the struct must be described in a
type library and it must be declared with its own GUID:
[helpstring("A long value")]
// Later in the IDL file
[uuid(...), version(...), helpstring(...)]
For more info see : http://vcfaq.mvps.org/com/4.htm
|Is This Answer Correct ?||0 Yes||3 No|
How does a DCOM component know where to instantiate itself?
Which tool is used to configure the port range and protocols for DCOM communications?
how to call a dll as a COM dll?
Define and explain about COM?
Suppose we have object B and aggregated object C (in- proc server), created by B. Can you access any interface of B from C?
where can i use pmcmd commands of informatica
What should QueryInterface functions do if requested object was not found?
What happens when client calls CoCreateInstance?
how you call a dll as a COM dll.
Explain JIT activation?
What is In-proc?
hi,I have applied for NIC test plz if any one have test paper pattrn plz send me on "email@example.com"