Click here to Skip to main content
16,004,778 members
Home / Discussions / COM
   

COM

 
GeneralHTML help viewer Pin
koteswara7-Aug-00 2:07
koteswara7-Aug-00 2:07 
GeneralRe: HTML help viewer Pin
Brian Hart9-Aug-00 14:59
Brian Hart9-Aug-00 14:59 
QuestionHow to implement interfaces in separate classes (ATL) Pin
ekarlsso6-Aug-00 3:09
ekarlsso6-Aug-00 3:09 
Generalpolymorphism Pin
Rao2-Aug-00 21:21
Rao2-Aug-00 21:21 
GeneralRe: polymorphism Pin
Alex Gorev3-Aug-00 5:37
Alex Gorev3-Aug-00 5:37 
GeneralRe: polymorphism Pin
Brian Hart7-Aug-00 16:47
Brian Hart7-Aug-00 16:47 
QuestionVC++ ATL Server, VB Client, VARIANTs and SAFEARRAYs ?? Pin
Keith Gemeinhart31-Jul-00 5:05
sussKeith Gemeinhart31-Jul-00 5:05 
AnswerRe: VC++ ATL Server, VB Client, VARIANTs and SAFEARRAYs ?? Pin
Alex Gorev1-Aug-00 4:03
Alex Gorev1-Aug-00 4:03 
Hi Keith,

You absolutely right... You have an option of passing 29 parameters to the method or you can use safearray. But safearrays are difficult to work with if you have different type of data like integers and strings...

The third option you have, which is the best if you have very complicated data that you need to pass/return to/from the method, is to use a COM object. You create a COM object with the different type of properties and pass/return it by interface pointer. The big advantage is that you can access the properties by names and even associate help strings with each property. The only issue is the performance... if you need to make many calls to such a method, it will take a lot of time to create and initialize the parameters object.

Regards,
Alex Gorev,
Dundas Software.
GeneralRe: VC++ ATL Server, VB Client, VARIANTs and SAFEARRAYs ?? Pin
Keith Gemeinhart2-Aug-00 5:46
sussKeith Gemeinhart2-Aug-00 5:46 
QuestionIE Context menu on ActiveX control..? Pin
tomer30-Jul-00 22:41
tomer30-Jul-00 22:41 
Generalcannot receiving events Pin
khoonking30-Jul-00 20:57
khoonking30-Jul-00 20:57 
GeneralRe: cannot receiving events Pin
Alex Gorev1-Aug-00 4:18
Alex Gorev1-Aug-00 4:18 
GeneralMTS and COM ! Pin
Guru29-Jul-00 4:56
Guru29-Jul-00 4:56 
GeneralRe: MTS and COM ! Pin
Mayank Dev Sondhi7-Aug-00 1:38
sussMayank Dev Sondhi7-Aug-00 1:38 
Generalproblem with GetObject Pin
Eric28-Jul-00 9:35
Eric28-Jul-00 9:35 
GeneralSpell Checking Pin
siva28-Jul-00 4:52
siva28-Jul-00 4:52 
GeneralSpell Checking Pin
siva28-Jul-00 4:52
siva28-Jul-00 4:52 
GeneralAfxConnectionAdvise Pin
Francisco José Sen del Prado27-Jul-00 7:50
Francisco José Sen del Prado27-Jul-00 7:50 
GeneralRe: AfxConnectionAdvise Pin
Alex Gorev27-Jul-00 10:16
Alex Gorev27-Jul-00 10:16 
GeneralRe: AfxConnectionAdvise Pin
jose27-Jul-00 19:55
jose27-Jul-00 19:55 
GeneralRe: AfxConnectionAdvise Pin
Brian Hart7-Aug-00 16:44
Brian Hart7-Aug-00 16:44 
GeneralRe: AfxConnectionAdvise Pin
Brian Hart7-Aug-00 16:40
Brian Hart7-Aug-00 16:40 
GeneralEdit Control in Internet Explorer Band Objects Pin
Sivakumar27-Jul-00 6:48
Sivakumar27-Jul-00 6:48 
GeneralCOM and ISAPI Pin
Eytan Heidingsfeld27-Jul-00 1:39
sussEytan Heidingsfeld27-Jul-00 1:39 
GeneralRe: COM and ISAPI Pin
ekarlsso6-Aug-00 3:04
ekarlsso6-Aug-00 3:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.