Click here to Skip to main content
15,913,130 members
Home / Discussions / COM
   

COM

 
AnswerRe: Types of DLL Pin
_AnsHUMAN_ 3-May-06 3:34
_AnsHUMAN_ 3-May-06 3:34 
QuestionDifference between static_cast and normal casting Pin
NiceNaidu2-May-06 2:30
NiceNaidu2-May-06 2:30 
AnswerRe: Difference between static_cast and normal casting Pin
guestcat2-May-06 3:20
guestcat2-May-06 3:20 
AnswerRe: Difference between static_cast and normal casting Pin
Stephen Hewitt2-May-06 15:59
Stephen Hewitt2-May-06 15:59 
QuestionWhy Default Interface ??? Pin
NiceNaidu2-May-06 1:33
NiceNaidu2-May-06 1:33 
AnswerRe: Why Default Interface ??? Pin
guestcat2-May-06 1:50
guestcat2-May-06 1:50 
GeneralRe: Why Default Interface ??? Pin
NiceNaidu2-May-06 2:18
NiceNaidu2-May-06 2:18 
GeneralRe: Why Default Interface ??? Pin
Mike Dimmick2-May-06 2:44
Mike Dimmick2-May-06 2:44 
[default] is an indicator to scripting languages such as VBScript which interface is the default one. Such scripting languages cannot navigate to alternate interfaces, so in effect they can only access the single interface marked [default]. This attribute is saved in the generated type library but doesn't otherwise affect the generated code.

Visual Basic 6.0 can access non-default interfaces but this feature isn't commonly used. You simply create a variable of the interface type (e.g. Dim o As IOtherInterface) and assign an existing object to that variable - if the class implements that interface, VB assigns the variable, and if not, an error occurs. Similar behaviour occurs in .NET languages.

If all your clients are C++ clients you don't need to worry about this attribute.

Stability. What an interesting concept. -- Chris Maunder
GeneralRe: Why Default Interface ??? Pin
guestcat2-May-06 3:01
guestcat2-May-06 3:01 
QuestionGetRecordInfoFromGUID returns 0x80029C4A Pin
morenz2-May-06 0:07
morenz2-May-06 0:07 
AnswerRe: GetRecordInfoFromGUID returns 0x80029C4A Pin
Vibhash Jha3-May-06 2:35
Vibhash Jha3-May-06 2:35 
GeneralRe: GetRecordInfoFromGUID returns 0x80029C4A Pin
morenz3-May-06 23:06
morenz3-May-06 23:06 
QuestionCOM - ROT - Threading - moniker - RPC - Where is the problem? Pin
guestcat1-May-06 22:47
guestcat1-May-06 22:47 
Questionhow to make a transform filter with one input and two out puts in directshow Pin
Ch Mazhar Iqbal1-May-06 21:15
Ch Mazhar Iqbal1-May-06 21:15 
QuestionATL Exe server.. Pin
Siva Sankar Koyi1-May-06 18:37
Siva Sankar Koyi1-May-06 18:37 
AnswerRe: ATL Exe server.. Pin
Vibhash Jha3-May-06 2:45
Vibhash Jha3-May-06 2:45 
AnswerRe: ATL Exe server.. Pin
morenz3-May-06 23:31
morenz3-May-06 23:31 
QuestionCOM Interop not working with VB.NET Pin
brwrob1-May-06 12:00
brwrob1-May-06 12:00 
Questionsearching Microsoft MAPI Control 6.0 Pin
Vasya - dragon27-Apr-06 1:55
Vasya - dragon27-Apr-06 1:55 
QuestionOffice CommandBar Button Pin
HakunaMatada26-Apr-06 3:44
HakunaMatada26-Apr-06 3:44 
AnswerRe: Office CommandBar Button Pin
Michael Dunn26-Apr-06 8:02
sitebuilderMichael Dunn26-Apr-06 8:02 
GeneralRe: Office CommandBar Button Pin
HakunaMatada26-Apr-06 17:36
HakunaMatada26-Apr-06 17:36 
GeneralRe: Office CommandBar Button Pin
HakunaMatada26-Apr-06 19:00
HakunaMatada26-Apr-06 19:00 
GeneralRe: Office CommandBar Button Pin
Stephen Hewitt26-Apr-06 21:18
Stephen Hewitt26-Apr-06 21:18 
GeneralRe: Office CommandBar Button Pin
Michael Dunn27-Apr-06 19:40
sitebuilderMichael Dunn27-Apr-06 19:40 

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.