Click here to Skip to main content
15,888,803 members
Home / Discussions / COM
   

COM

 
AnswerRe: #import ocx control Pin
Kurt _B7-Apr-06 2:56
Kurt _B7-Apr-06 2:56 
QuestionDllSurrogate problem with Win XP Pin
_Magnus_6-Apr-06 2:48
_Magnus_6-Apr-06 2:48 
QuestionActiveX Control Pin
Identity Undisclosed6-Apr-06 1:37
Identity Undisclosed6-Apr-06 1:37 
AnswerRe: ActiveX Control Pin
Kurt _B7-Apr-06 2:57
Kurt _B7-Apr-06 2:57 
Questionhow to create wrapper class for WMI class Pin
abhiramsss5-Apr-06 19:22
abhiramsss5-Apr-06 19:22 
QuestionRetrieving the text from the VS.Net IDE Pin
Virtek5-Apr-06 9:18
Virtek5-Apr-06 9:18 
Questionimport tlb vs. include _i.h Pin
Avraham5-Apr-06 5:58
Avraham5-Apr-06 5:58 
AnswerRe: import tlb vs. include _i.h Pin
Mike Dimmick6-Apr-06 0:12
Mike Dimmick6-Apr-06 0:12 
There should be very little difference between the two. The .tlh file generated by #import produces code which is typically virtually identical to that generated by MIDL in the header file, at least for the raw interface.

Optionally and by default, #import also generates wrappers that use exceptions to report errors and extended Visual C++-only syntax to support properties. This makes it syntactically nicer to use the interfaces. Exception handling is significantly slower than error code checking, but it's the user's choice whether to use these.

If you use the TLB there are limitations on the types you can use for parameters in your interface - for example, all strings must be BSTRs, and all arrays must be SAFEARRAYs. However, you need to conform to these requirements anyway for scripting, Visual Basic and .NET interop support.

Stability. What an interesting concept. -- Chris Maunder
QuestionCOM and Video Pin
gilzig5-Apr-06 5:54
gilzig5-Apr-06 5:54 
Questionpassing user defined data types from any client to COM object Pin
kvamsidr4-Apr-06 2:04
kvamsidr4-Apr-06 2:04 
AnswerRe: passing user defined data types from any client to COM object Pin
Gizzo4-Apr-06 7:34
Gizzo4-Apr-06 7:34 
AnswerRe: passing user defined data types from any client to COM object Pin
Laxman Auti15-Apr-06 2:03
Laxman Auti15-Apr-06 2:03 
QuestionCAsyncsocket in ATL Pin
zubair_ahmed4-Apr-06 0:38
zubair_ahmed4-Apr-06 0:38 
QuestionDirectX in internet explorer Pin
quickshot0073-Apr-06 3:31
quickshot0073-Apr-06 3:31 
QuestionProblem Debugging ATL-COM DLL Project Pin
Findingnimmo3-Apr-06 0:32
Findingnimmo3-Apr-06 0:32 
AnswerRe: Problem Debugging ATL-COM DLL Project Pin
khan++3-Apr-06 2:25
khan++3-Apr-06 2:25 
GeneralRe: Problem Debugging ATL-COM DLL Project Pin
Findingnimmo3-Apr-06 18:24
Findingnimmo3-Apr-06 18:24 
GeneralRe: Problem Debugging ATL-COM DLL Project Pin
khan++3-Apr-06 20:37
khan++3-Apr-06 20:37 
GeneralRe: Problem Debugging ATL-COM DLL Project Pin
Findingnimmo4-Apr-06 4:22
Findingnimmo4-Apr-06 4:22 
GeneralRe: Problem Debugging ATL-COM DLL Project Pin
khan++4-Apr-06 4:37
khan++4-Apr-06 4:37 
QuestionWindows AMnagement Instrumentation task Pin
abhiramsss2-Apr-06 23:39
abhiramsss2-Apr-06 23:39 
QuestionServer to client communication using DCOM Pin
abhiramsss30-Mar-06 23:07
abhiramsss30-Mar-06 23:07 
Questionopened file problem Pin
aaaan30-Mar-06 17:55
aaaan30-Mar-06 17:55 
AnswerRe: opened file problem Pin
Stephen Hewitt30-Mar-06 18:00
Stephen Hewitt30-Mar-06 18:00 
QuestionIstream pipes Pin
jason s {3E44F2FF-8ED8-4ff9-8669-6672A203F776}30-Mar-06 10:52
jason s {3E44F2FF-8ED8-4ff9-8669-6672A203F776}30-Mar-06 10:52 

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.