Browse DevX
Sign up for e-mail newsletters from DevX

Tip of the Day
Language: Enterprise
Expertise: Beginner
Aug 1, 1999



Building the Right Environment to Support AI, Machine Learning and Deep Learning

Guidelines for developing COM components that need to talk to VB

It is useful to follow these guidelines when you develop COM components that need to talk to VB.
1. Only use VARIANT data types in your interface . Although VB can handle more complex data types, using just VARIANT lets the components be used by less sophisticated automation clients like vbscrip, jscript.
2. You can have as many [in] parameters as you want but only one out parameter defined as [out,retval]. [out] and [in,out] are somewhat problematic and prone to client leaks unless you
Jai Bardhan
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date