Click here to Skip to main content
15,897,371 members
Home / Discussions / COM
   

COM

 
GeneralRe: VARIANT data type?! Pin
Rashid Thadha12-Aug-01 23:08
Rashid Thadha12-Aug-01 23:08 
GeneralRe: VARIANT data type?! Pin
20-Aug-01 1:06
suss20-Aug-01 1:06 
GeneralHELP!!! Advise() failes when called remotely Pin
10-Aug-01 5:45
suss10-Aug-01 5:45 
GeneralRe: HELP!!! Advise() failes when called remotely Pin
Mike Player10-Aug-01 6:14
Mike Player10-Aug-01 6:14 
GeneralRe: HELP!!! Advise() failes when called remotely Pin
Rashid Thadha10-Aug-01 6:34
Rashid Thadha10-Aug-01 6:34 
GeneralConverting types Pin
8-Aug-01 20:11
suss8-Aug-01 20:11 
GeneralEvents in ASP Pin
Member 169778-Aug-01 19:47
Member 169778-Aug-01 19:47 
GeneralPerformance: Smart pointers vs CComPtr, IDispatch vs IUnknown Pin
Joe Hastings8-Aug-01 11:43
Joe Hastings8-Aug-01 11:43 
Hi, I've been having a hard time deciding which methods to use in C++ to access COM objects when performance is an issue. When I don't care about performance I use a ClassWizard generated MFC class that uses CString istead of those annoying BSTRs!, but when I care about performance I see the following options:

1. Straight C++ which is not very readable
2. #import -> SmartPointers
3. ATL's CComPtr
...
What are the performance hits by not choosing #1?
What are the tradeoffs between 2 and 3?
And finally, how much does IDispatch support hurt C++ performance (for the sake of exposing access to scripting languages)? Do real-world developers ever use IDispatch for testing in VB and then use an IUnknown for a VC++ client for the sake of performance?

Thanks!

Mach5 Enterprises, LLC. http://www.mach5.com/
"Web Intelligence for the New Economy"
GeneralCOM Pin
8-Aug-01 0:14
suss8-Aug-01 0:14 
GeneralCalling the 2nd + method Pin
Brad Bruce7-Aug-01 8:39
Brad Bruce7-Aug-01 8:39 
GeneralATL Dialog based control wizard Pin
7-Aug-01 7:24
suss7-Aug-01 7:24 
GeneralRe: ATL Dialog based control wizard Pin
Aaron Schaefer7-Aug-01 8:41
Aaron Schaefer7-Aug-01 8:41 
QuestionMFC ASSERT called by IE, need to reboot? Pin
Joe Hastings7-Aug-01 3:25
Joe Hastings7-Aug-01 3:25 
Generalput <map> in dispparams Pin
parag7-Aug-01 3:04
parag7-Aug-01 3:04 
GeneralUsing ActiveX VB dll in VC Pin
6-Aug-01 20:06
suss6-Aug-01 20:06 
GeneralAutomating Visual C++ Project Creation Pin
Steve Thresher6-Aug-01 0:19
Steve Thresher6-Aug-01 0:19 
GeneralExtension of the IE5 context-menu Pin
Yks5-Aug-01 18:59
Yks5-Aug-01 18:59 
GeneralRe: Extension of the IE5 context-menu Pin
Todd Smith5-Aug-01 19:32
Todd Smith5-Aug-01 19:32 
GeneralRe: Extension of the IE5 context-menu Pin
Not Active6-Aug-01 3:03
mentorNot Active6-Aug-01 3:03 
QuestionGet the MAC-address from a host computer? Pin
Heidyon3-Aug-01 0:00
Heidyon3-Aug-01 0:00 
GeneralActiveX component in an exe Pin
2-Aug-01 15:53
suss2-Aug-01 15:53 
GeneralATL wizard with multiple tables Pin
Bigge2-Aug-01 0:32
Bigge2-Aug-01 0:32 
GeneralRe: ATL wizard with multiple tables Pin
Not Active2-Aug-01 4:42
mentorNot Active2-Aug-01 4:42 
GeneralRe: ATL wizard with multiple tables Pin
Bigge2-Aug-01 5:36
Bigge2-Aug-01 5:36 
GeneralRe: ATL wizard with multiple tables Pin
Wictor Wilén2-Aug-01 5:04
Wictor Wilén2-Aug-01 5: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.