Click here to Skip to main content
15,915,172 members
Home / Discussions / COM
   

COM

 
GeneralRe: Using ActiveX Pin
Jagadeesh VN10-Sep-03 9:44
Jagadeesh VN10-Sep-03 9:44 
Question_bstr_t::copy and memory leak? Pin
Maverick9-Sep-03 22:56
Maverick9-Sep-03 22:56 
AnswerRe: _bstr_t::copy and memory leak? Pin
Jagadeesh VN9-Sep-03 23:27
Jagadeesh VN9-Sep-03 23:27 
GeneralRe: _bstr_t::copy and memory leak? Pin
Steve S11-Sep-03 1:58
Steve S11-Sep-03 1:58 
GeneralRe: _bstr_t::copy and memory leak? Pin
Maverick11-Sep-03 22:06
Maverick11-Sep-03 22:06 
GeneralRe: _bstr_t::copy and memory leak? Pin
doisy18-Sep-03 3:01
doisy18-Sep-03 3:01 
Generalasp to asp.net with com problem Pin
mark2229-Sep-03 22:44
mark2229-Sep-03 22:44 
GeneralForward declaration of interfaces Pin
Rowan Seymour9-Sep-03 2:30
Rowan Seymour9-Sep-03 2:30 
I have 2 interfaces that reference each other (A & B) and the MIDL compiler is not happy... Frown | :-(

in A's header file...

__interface IA : IDispatch<br />
{<br />
  [id(1), helpstring("")] HRESULT func([in] IB* pB);<br />
};


in B's header file...

__interface IB : IDispatch<br />
{<br />
  [id(1), helpstring("")] HRESULT func([in] IB* pB);<br />
};


if i don't forward declare the interfaces I get a C++ syntax error

if i forward declare the interfaces with the __interface keyword, I get:

error MIDL2025 : syntax error : expecting a type specification near "IImageHSV"

if i forward declare the interfaces with the interface keyword, I get:

error MIDL2003 : redefinition : IImageHSV

Any suggestions much appreciated
GeneralRe: Forward declaration of interfaces Pin
valikac9-Sep-03 5:53
valikac9-Sep-03 5:53 
GeneralRe: Forward declaration of interfaces Pin
Rowan Seymour10-Sep-03 6:11
Rowan Seymour10-Sep-03 6:11 
GeneralRe: Forward declaration of interfaces Pin
Brian Shifrin11-Sep-03 1:35
Brian Shifrin11-Sep-03 1:35 
GeneralRe: Forward declaration of interfaces Pin
Rowan Seymour11-Sep-03 3:34
Rowan Seymour11-Sep-03 3:34 
GeneralRe: Forward declaration of interfaces Pin
arun140529-Oct-03 2:18
arun140529-Oct-03 2:18 
GeneralRe: Forward declaration of interfaces Pin
Rowan Seymour29-Oct-03 2:58
Rowan Seymour29-Oct-03 2:58 
GeneralIE Automation Pin
nikhilkhedkar8-Sep-03 21:08
nikhilkhedkar8-Sep-03 21:08 
GeneralRe: IE Automation Pin
nikhilkhedkar9-Sep-03 2:18
nikhilkhedkar9-Sep-03 2:18 
GeneralStack messed up upon function returned Pin
DionChen8-Sep-03 8:04
DionChen8-Sep-03 8:04 
QuestionHow to pass VBA Collection to COM DLL from .NET C#? Pin
ajkumar4-Sep-03 15:21
ajkumar4-Sep-03 15:21 
Generalpassing a pointer into C++ from VB Pin
rajdawg3-Sep-03 16:31
rajdawg3-Sep-03 16:31 
GeneralRe: passing a pointer into C++ from VB Pin
Lim Bio Liong18-Sep-03 7:51
Lim Bio Liong18-Sep-03 7:51 
GeneralThreading issue Pin
kkfromus2-Sep-03 11:16
kkfromus2-Sep-03 11:16 
GeneralRe: Threading issue Pin
valikac3-Sep-03 6:22
valikac3-Sep-03 6:22 
GeneralRe: Threading issue Pin
kkfromus3-Sep-03 11:35
kkfromus3-Sep-03 11:35 
GeneralRe: Threading issue Pin
valikac4-Sep-03 9:07
valikac4-Sep-03 9:07 
GeneralRe: Threading issue Pin
Anonymous12-Sep-03 12:16
Anonymous12-Sep-03 12:16 

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.