Click here to Skip to main content
15,901,284 members
Home / Discussions / C#
   

C#

 
Generalhardware control Pin
Mridang Agarwalla17-Nov-04 20:57
Mridang Agarwalla17-Nov-04 20:57 
Generalwindows context menu Pin
Mridang Agarwalla17-Nov-04 20:53
Mridang Agarwalla17-Nov-04 20:53 
GeneralRe: windows context menu Pin
Luis Alonso Ramos19-Nov-04 9:16
Luis Alonso Ramos19-Nov-04 9:16 
Generaltaskbar button grouping Pin
yu-yu17-Nov-04 18:33
yu-yu17-Nov-04 18:33 
GeneralUser COntrols Pin
Brendan Vogt17-Nov-04 18:31
Brendan Vogt17-Nov-04 18:31 
GeneralRe: User COntrols Pin
R. Thomas17-Nov-04 19:28
R. Thomas17-Nov-04 19:28 
GeneralRe: User COntrols Pin
leppie17-Nov-04 22:44
leppie17-Nov-04 22:44 
Generaltlbimp metadata generation Pin
rana7417-Nov-04 14:59
rana7417-Nov-04 14:59 
An idl as the one below
import "oaidl.idl";
import "ocidl.idl";
[
object,
uuid(1F797987-FC69-43F7-B263-F93001092B6B),

helpstring("ICOMDispatcher Interface"),
pointer_default(unique)
]
interface ICOMDispatcher : IUnknown
{
[helpstring("method ProcessFBOData")] HRESULT ProcessData([in]BSTR xmlStream);
};

[
uuid(A3359D17-EDC8-4F58-A00E-75EB1A13EE85),
version(1.0),
helpstring("ScriptIfDispatcher 1.0 Type Library")
]
library SCRIPTIFDISPATCHERLib
{
importlib("stdole32.tlb");
importlib("stdole2.tlb");

[
uuid(A250FE7E-2E0A-4FD7-B770-E338FFDD7465),
helpstring("COMDispatcher Class")
]
coclass COMDispatcher
{
[default] interface ICOMDispatcher;
};
};

generates a metadata as below

___[MOD] D:\Code\CScriptAppInterface\ScriptIfDispatcher\ScriptDispatcher.dll
| M A N I F E S T
|___[NSP] ScriptDispatcher
| |___[INT] COMDispatcher(>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>.interface 1)
| | | .class interface public abstract auto ansi import
| | | implements ScriptDispatcher.ICOMDispatcher
| | | .custom instance void [mscorlib]System.Runtime.InteropServices.GuidAttribute::.ctor(string) = ( 01 00 24 31 46 37 39 37 39 38 37 2D 46 43 36 39 // ..$1F797987-FC69 ...
| | | .custom instance void [mscorlib]System.Runtime.InteropServices.CoClassAttribute::.ctor(class [mscorlib]System.Type) = ( 01 00 23 53 63 72 69 70 74 44 69 73 70 61 74 63 // ..#ScriptDispatc ...
| |
| |___[CLS] COMDispatcherClass(>>>>>>>>>>>>>>>>>>>>>>>>>>>>class )
| | | .class public auto ansi import
| | | implements ScriptDispatcher.ICOMDispatcher
| | | implements ScriptDispatcher.COMDispatcher
| | | .custom instance void [mscorlib]System.Runtime.InteropServices.GuidAttribute::.ctor(string) = ( 01 00 24 41 32 35 30 46 45 37 45 2D 32 45 30 41 // ..$A250FE7E-2E0A ...
| | | .custom instance void [mscorlib]System.Runtime.InteropServices.ClassInterfaceAttribute::.ctor(int16) = ( 01 00 00 00 00 00 ) ...
| | | .custom instance void [mscorlib]System.Runtime.InteropServices.TypeLibTypeAttribute::.ctor(int16) = ( 01 00 02 00 00 00 ) ...
| | |___[MET] .ctor : void()
| | |___[MET] ProcessFBOData : void(string)
| |
| |___[INT] ICOMDispatcher(>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>interface 2)
| | | .class interface public abstract auto ansi import
| | | .custom instance void [mscorlib]System.Runtime.InteropServices.GuidAttribute::.ctor(string) = ( 01 00 24 31 46 37 39 37 39 38 37 2D 46 43 36 39 // ..$1F797987-FC69 ...
| | | .custom instance void [mscorlib]System.Runtime.InteropServices.InterfaceTypeAttribute::.ctor(int16) = ( 01 00 01 00 00 00 ) ...
| | |___[MET] ProcessFBOData : void(string)
| |
|
I would have expected a class COMDispatcher and interface ICOMDispatcher as per the idl.Then why are the interface COMDispatcher and class COMDispatcherclass introcuded?Can someone explain the purpose of this modification while generating metadata.Any reference will also be appreciated.

Questionhow to get click event of windows taskbar button. Pin
yu-yu17-Nov-04 14:53
yu-yu17-Nov-04 14:53 
GeneralConcurrently accessing a file. Pin
Rafferty Uy17-Nov-04 14:49
Rafferty Uy17-Nov-04 14:49 
GeneralRe: Concurrently accessing a file. Pin
Dennis C. Dietrich17-Nov-04 15:15
Dennis C. Dietrich17-Nov-04 15:15 
GeneralRe: Concurrently accessing a file. Pin
Rafferty Uy17-Nov-04 16:09
Rafferty Uy17-Nov-04 16:09 
QuestionWhat is more scientific... Pin
tom_dx17-Nov-04 13:36
tom_dx17-Nov-04 13:36 
AnswerRe: What is more scientific... Pin
R. Thomas17-Nov-04 19:31
R. Thomas17-Nov-04 19:31 
AnswerRe: What is more scientific... Pin
Daniel Turini17-Nov-04 23:15
Daniel Turini17-Nov-04 23:15 
GeneralAdvanced collection classes for the .NET Framework 2.0 Pin
Dennis C. Dietrich17-Nov-04 11:08
Dennis C. Dietrich17-Nov-04 11:08 
GeneralNetWork "Noise Control" Pin
Sakkijha17-Nov-04 10:39
Sakkijha17-Nov-04 10:39 
GeneralUsing Microsoft Outlook Object Library Pin
Guinness4Strength17-Nov-04 9:23
Guinness4Strength17-Nov-04 9:23 
GeneralSQLXML Bulk Load from C# Doesn't Work Pin
perlmunger17-Nov-04 9:10
perlmunger17-Nov-04 9:10 
GeneralMultiple Criteria for Sorting Objects Pin
17-Nov-04 8:59
suss17-Nov-04 8:59 
GeneralRe: Multiple Criteria for Sorting Objects Pin
Utku KAYA17-Nov-04 9:15
Utku KAYA17-Nov-04 9:15 
GeneralRe: Multiple Criteria for Sorting Objects Pin
Daniel Turini17-Nov-04 9:15
Daniel Turini17-Nov-04 9:15 
GeneralC++ Builder and C# question. please help Pin
elapid17-Nov-04 8:13
elapid17-Nov-04 8:13 
GeneralRe: C++ Builder and C# question. please help Pin
Nick Parker17-Nov-04 10:20
protectorNick Parker17-Nov-04 10:20 
GeneralRe: C++ Builder and C# question. please help Pin
Anonymous18-Nov-04 0:46
Anonymous18-Nov-04 0:46 

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.