Click here to Skip to main content
15,888,454 members
Home / Discussions / COM
   

COM

 
GeneralRe: Ok. The dumbest 2 questions Pin
rwestgraham16-May-05 10:55
rwestgraham16-May-05 10:55 
GeneralRe: Ok. The dumbest 2 questions Pin
CherezZaboro16-May-05 11:01
CherezZaboro16-May-05 11:01 
GeneralRe: Ok. The dumbest 2 questions Pin
rwestgraham16-May-05 11:37
rwestgraham16-May-05 11:37 
GeneralRe: Ok. The dumbest 2 questions Pin
User 21559721-May-05 0:38
User 21559721-May-05 0:38 
GeneralDCOM and C# Pin
Millzy14-May-05 10:22
Millzy14-May-05 10:22 
GeneralSharing enums between COM objects Pin
Sir Garence12-May-05 23:52
sussSir Garence12-May-05 23:52 
GeneralRe: Sharing enums between COM objects Pin
User 21559719-May-05 21:45
User 21559719-May-05 21:45 
GeneralRe: Sharing enums between COM objects Pin
Hariharan.T19-May-05 23:14
Hariharan.T19-May-05 23:14 
Gary,

Try importing the Type library (using importlib("..")) of the enum idl into the type library definition of your components idl and not anywhere else. This might work.
for eg.. consider ur enum idl as "SampleEnum.idl" and its tlb as "SampleEnum.tlb"... then your component idl shud be like,

#import "SampleEnum.idl"

[...]
interface Izzzzzz : Ixxxxx
{

}
[...]
library xxxxx
{
importlib("SampleEnum.tlb");

// your coclass definition goes here

}
Smile | :)

Hariharan.T
GeneralGetting SafeArray** in C++ from VB COM Pin
hanofee12-May-05 22:59
hanofee12-May-05 22:59 
GeneralConverting interface pointers Pin
Mikke_x12-May-05 19:20
Mikke_x12-May-05 19:20 
GeneralRe: Converting interface pointers Pin
ursus zeta15-May-05 9:48
ursus zeta15-May-05 9:48 
GeneralStrange behavior of BSTRs in DCOM Pin
morenz12-May-05 3:01
morenz12-May-05 3:01 
GeneralRe: Strange behavior of BSTRs in DCOM Pin
Indagro12-May-05 20:54
Indagro12-May-05 20:54 
GeneralRe: Strange behavior of BSTRs in DCOM Pin
morenz16-May-05 5:19
morenz16-May-05 5:19 
GeneralRe: Strange behavior of BSTRs in DCOM Pin
Indagro18-May-05 23:35
Indagro18-May-05 23:35 
GeneralRe: Strange behavior of BSTRs in DCOM Pin
morenz20-May-05 13:08
morenz20-May-05 13:08 
GeneralRe: Strange behavior of BSTRs in DCOM Pin
Vi212-May-05 21:08
Vi212-May-05 21:08 
GeneralRe: Strange behavior of BSTRs in DCOM Pin
morenz16-May-05 2:52
morenz16-May-05 2:52 
GeneralMS Excel 10.0 object library Pin
Member 164882912-May-05 0:55
Member 164882912-May-05 0:55 
GeneralNeed help in NetMeeting Desktop Sharing Pin
shainisnair12-May-05 0:46
shainisnair12-May-05 0:46 
GeneralUsing two .tlb files which has same class/interface Pin
jabhi197411-May-05 21:26
jabhi197411-May-05 21:26 
GeneralRe: Using two .tlb files which has same class/interface Pin
Indagro12-May-05 21:08
Indagro12-May-05 21:08 
GeneralMTS packages Pin
Pavneet Singh10-May-05 0:58
Pavneet Singh10-May-05 0:58 
GeneralRe: MTS packages Pin
Rizwan Bashir10-May-05 23:22
Rizwan Bashir10-May-05 23:22 
GeneralRe: MTS packages Pin
Pavneet Singh12-May-05 9:03
Pavneet Singh12-May-05 9: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.