Click here to Skip to main content
15,848,093 members
Home / Discussions / COM
   

COM

 
GeneralCOM Communication Pin
HakunaMatada25-Mar-08 2:25
HakunaMatada25-Mar-08 2:25 
GeneralRe: COM Communication Pin
Mike Dimmick30-Mar-08 13:58
Mike Dimmick30-Mar-08 13:58 
GeneralRe: COM Communication Pin
HakunaMatada30-Mar-08 20:12
HakunaMatada30-Mar-08 20:12 
GeneralBSTR variable Pin
vc++_fragrance24-Mar-08 20:48
vc++_fragrance24-Mar-08 20:48 
GeneralRe: BSTR variable Pin
User 21559725-Mar-08 2:24
User 21559725-Mar-08 2:24 
GeneralRe: BSTR variable Pin
CPallini26-Mar-08 2:07
mveCPallini26-Mar-08 2:07 
GeneralC# class library Pin
pnpfriend24-Mar-08 10:24
pnpfriend24-Mar-08 10:24 
GeneralRe: C# class library Pin
Scott Dorman25-Mar-08 16:37
professionalScott Dorman25-Mar-08 16:37 
pnpfriend wrote:
) does all the classes need Guid?


No. This is only needed if you are going to access the class from COM.

pnpfriend wrote:
2) Does all the class need interface classes? or can I have just regular class without interface and Guid?


No, classes are not required to implement an interface. Interface essentially allow you to define the "contract" that the class will provide. It does nothing to ensure how that contract is implemented but only that specific methods/properties will be available.

pnpfriend wrote:
Can library have static function/procedures so other classes can call them directly?


The library can't, but an individual class can have static methods and/or properties that can be called without requiring an instance of that class.

pnpfriend wrote:
Can I have a class, that will not be calling from COM client, without a guid?


This is pretty much the same as question 1, just asked inversely...so yes, you can have a class that isn't called from COM without a GUID.

Scott.

—In just two days, tomorrow will be yesterday.
—Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai

[Forum Guidelines] [Articles] [Blog]

GeneralCalling .NET component from VB. [modified] Pin
SPanicker*23-Mar-08 22:38
SPanicker*23-Mar-08 22:38 
GeneralRe: Calling .NET component from VB. Pin
Vi23-Apr-08 21:13
Vi23-Apr-08 21:13 
QuestionHow to Rreference COM object(tlb file) in VC++ Pin
Jahnson K21-Mar-08 11:05
Jahnson K21-Mar-08 11:05 
AnswerRe: How to Rreference COM object(tlb file) in VC++ Pin
User 21559722-Mar-08 4:02
User 21559722-Mar-08 4:02 
GeneralRe: How to Rreference COM object(tlb file) in VC++ Pin
Jahnson K22-Mar-08 12:31
Jahnson K22-Mar-08 12:31 
GeneralRe: How to Rreference COM object(tlb file) in VC++ Pin
User 21559723-Mar-08 3:28
User 21559723-Mar-08 3:28 
AnswerRe: How to Rreference COM object(tlb file) in VC++ Pin
pnpfriend24-Mar-08 10:34
pnpfriend24-Mar-08 10:34 
GeneralRe: How to Rreference COM object(tlb file) in VC++ Pin
Jahnson K25-Mar-08 8:35
Jahnson K25-Mar-08 8:35 
GeneralRe: How to Rreference COM object(tlb file) in VC++ Pin
Jahnson K27-Mar-08 14:04
Jahnson K27-Mar-08 14:04 
GeneralRe: How to Rreference COM object(tlb file) in VC++ Pin
Vi23-Apr-08 21:19
Vi23-Apr-08 21:19 
GeneralRe: How to Rreference COM object(tlb file) in VC++ Pin
Jahnson K7-Apr-08 9:19
Jahnson K7-Apr-08 9:19 
AnswerRe: How to Rreference COM object(tlb file) in VC++ Pin
Member 38312474-Apr-08 4:21
Member 38312474-Apr-08 4:21 
GeneralTAPI related Question Pin
ritz123421-Mar-08 1:44
ritz123421-Mar-08 1:44 
GeneralGetting E_ACCESSDENIED when calling IPersistFile:Save Pin
TClarke20-Mar-08 7:08
TClarke20-Mar-08 7:08 
GeneralRe: Getting E_ACCESSDENIED when calling IPersistFile:Save Pin
Nathan Holt at EMOM20-Mar-08 9:43
Nathan Holt at EMOM20-Mar-08 9:43 
GeneralRe: Getting E_ACCESSDENIED when calling IPersistFile:Save Pin
Member 785300318-Apr-11 15:13
Member 785300318-Apr-11 15:13 
Questionwhere is the type library for IDataObject ? Pin
Vlasta_20-Mar-08 2:05
Vlasta_20-Mar-08 2:05 

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.