Click here to Skip to main content
15,949,686 members
Home / Discussions / COM
   

COM

 
GeneralCOM Communication Pin
HakunaMatada25-Mar-08 1:25
HakunaMatada25-Mar-08 1:25 
GeneralRe: COM Communication Pin
Mike Dimmick30-Mar-08 12:58
Mike Dimmick30-Mar-08 12:58 
GeneralRe: COM Communication Pin
HakunaMatada30-Mar-08 19:12
HakunaMatada30-Mar-08 19:12 
GeneralBSTR variable Pin
vc++_fragrance24-Mar-08 19:48
vc++_fragrance24-Mar-08 19:48 
GeneralRe: BSTR variable Pin
User 21559725-Mar-08 1:24
User 21559725-Mar-08 1:24 
GeneralRe: BSTR variable Pin
CPallini26-Mar-08 1:07
mveCPallini26-Mar-08 1:07 
GeneralC# class library Pin
pnpfriend24-Mar-08 9:24
pnpfriend24-Mar-08 9:24 
GeneralRe: C# class library Pin
Scott Dorman25-Mar-08 15:37
professionalScott Dorman25-Mar-08 15: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 21:38
SPanicker*23-Mar-08 21:38 
GeneralRe: Calling .NET component from VB. Pin
Vi23-Apr-08 20:13
Vi23-Apr-08 20:13 
QuestionHow to Rreference COM object(tlb file) in VC++ Pin
Jahnson K21-Mar-08 10:05
Jahnson K21-Mar-08 10:05 
AnswerRe: How to Rreference COM object(tlb file) in VC++ Pin
User 21559722-Mar-08 3:02
User 21559722-Mar-08 3:02 
GeneralRe: How to Rreference COM object(tlb file) in VC++ Pin
Jahnson K22-Mar-08 11:31
Jahnson K22-Mar-08 11:31 
GeneralRe: How to Rreference COM object(tlb file) in VC++ Pin
User 21559723-Mar-08 2:28
User 21559723-Mar-08 2:28 
AnswerRe: How to Rreference COM object(tlb file) in VC++ Pin
pnpfriend24-Mar-08 9:34
pnpfriend24-Mar-08 9:34 
GeneralRe: How to Rreference COM object(tlb file) in VC++ Pin
Jahnson K25-Mar-08 7:35
Jahnson K25-Mar-08 7:35 
GeneralRe: How to Rreference COM object(tlb file) in VC++ Pin
Jahnson K27-Mar-08 13:04
Jahnson K27-Mar-08 13:04 
GeneralRe: How to Rreference COM object(tlb file) in VC++ Pin
Vi23-Apr-08 20:19
Vi23-Apr-08 20:19 
GeneralRe: How to Rreference COM object(tlb file) in VC++ Pin
Jahnson K7-Apr-08 8:19
Jahnson K7-Apr-08 8:19 
AnswerRe: How to Rreference COM object(tlb file) in VC++ Pin
Member 38312474-Apr-08 3:21
Member 38312474-Apr-08 3:21 
GeneralTAPI related Question Pin
ritz123421-Mar-08 0:44
ritz123421-Mar-08 0:44 
GeneralGetting E_ACCESSDENIED when calling IPersistFile:Save Pin
TClarke20-Mar-08 6:08
TClarke20-Mar-08 6:08 
GeneralRe: Getting E_ACCESSDENIED when calling IPersistFile:Save Pin
Nathan Holt at EMOM20-Mar-08 8:43
Nathan Holt at EMOM20-Mar-08 8:43 
GeneralRe: Getting E_ACCESSDENIED when calling IPersistFile:Save Pin
Member 785300318-Apr-11 14:13
Member 785300318-Apr-11 14:13 
Questionwhere is the type library for IDataObject ? Pin
Vlasta_20-Mar-08 1:05
Vlasta_20-Mar-08 1: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.