Click here to Skip to main content
15,909,747 members
Home / Discussions / COM
   

COM

 
GeneralRe: error: LNK2001 Pin
Richard Andrew x649-Apr-06 13:33
professionalRichard Andrew x649-Apr-06 13:33 
GeneralRe: error: LNK2001 Pin
rahultaing9-Apr-06 13:37
rahultaing9-Apr-06 13:37 
GeneralRe: error: LNK2001 Pin
Richard Andrew x649-Apr-06 13:43
professionalRichard Andrew x649-Apr-06 13:43 
GeneralRe: error: LNK2001 Pin
rahultaing9-Apr-06 13:47
rahultaing9-Apr-06 13:47 
GeneralRe: error: LNK2001 Pin
rahultaing9-Apr-06 13:51
rahultaing9-Apr-06 13:51 
GeneralRe: error: LNK2001 Pin
Richard Andrew x649-Apr-06 13:57
professionalRichard Andrew x649-Apr-06 13:57 
Questionboolean variables Pin
rahultaing8-Apr-06 19:51
rahultaing8-Apr-06 19:51 
AnswerRe: boolean variables Pin
Lim Bio Liong8-Apr-06 21:27
Lim Bio Liong8-Apr-06 21:27 
QuestionConstructor & Destructor Pin
rahultaing8-Apr-06 19:50
rahultaing8-Apr-06 19:50 
AnswerRe: Constructor & Destructor Pin
Lim Bio Liong8-Apr-06 21:10
Lim Bio Liong8-Apr-06 21:10 
QuestionExcel Freeze Panes Pin
Monin D.8-Apr-06 10:44
Monin D.8-Apr-06 10:44 
QuestionAdding .VCF to Outlook contacts... Pin
xyzt827-Apr-06 14:58
xyzt827-Apr-06 14:58 
Question#import ocx control Pin
Anthony98876-Apr-06 10:47
Anthony98876-Apr-06 10:47 
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 

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.