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

COM

 
AnswerRe: Can com post message to app? I own the COM and app. Pin
geo_m29-Mar-03 22:56
geo_m29-Mar-03 22:56 
GeneralI only want to post WM_USER to app.How can I do? Pin
xiaochnegwx1-Apr-03 6:56
xiaochnegwx1-Apr-03 6:56 
GeneralRe: I only want to post WM_USER to app.How can I do? Pin
geo_m1-Apr-03 7:45
geo_m1-Apr-03 7:45 
GeneralBasic ATL-COM problem Pin
Francisco José Sen del Prado29-Mar-03 6:27
Francisco José Sen del Prado29-Mar-03 6:27 
GeneralRe: Basic ATL-COM problem Pin
Brian Shifrin29-Mar-03 13:12
Brian Shifrin29-Mar-03 13:12 
GeneralReturn Icon/Bitmap data from a method Pin
thowra29-Mar-03 1:35
thowra29-Mar-03 1:35 
GeneralRe: Return Icon/Bitmap data from a method Pin
Vi231-Mar-03 22:54
Vi231-Mar-03 22:54 
GeneralMIDL: Error related to Forward Dec;aration Pin
Ahsan Abbas27-Mar-03 22:28
Ahsan Abbas27-Mar-03 22:28 
Hi All,
I am working on a project(.dsp in Visual C++ 6.0) which
has multiple .idl files, many of these .idl files has
cross reference. Actually what I mean is, a function
inside file1's interface(interface_of_file1) takes a
parameter of file2's interface(interface_of_file2). Plus,
a function in interface_of_file2 takes parameter of
interface_of_file1. I hope you people got the idea that
both files need the other file to be compiled. In this
situation, if I import file2 in file1 and compile file1,
compiler tries to compile file2 first and gives error
that:

error MIDL2025 : syntax error : expecting a type
specification near "interface_of_file1" .

Now this is a kind of Dead Lock. I did Forward declaration
instead of importing the file(I do not exactly know the
method offorward declaration in MIDL). I did it in file1
like:
interface interface_of_file2;

Now this gives a different error and a warning:
==============================================
error MIDL2011 : unresolved type declaration :
interface_of_file2 [ Parameter 'parameter1' of
Procedure 'get_CashPeriod' (
Interface 'interface_of_file1' ) ]

warning MIDL2039 : interface does not conform to
[oleautomation] attribute : [ Parameter 'parameter1' of
Procedure 'get_CashPeriod' (
Interface 'interface_of_file1' ) ]
==============================================

Now please tell me, whether I'm doing forward declaration
wrongly? or can anyone suggest some other solution to this
problem?

I will be really thankful for any good answer.
Regards,
Ahsan


Ahsan
GeneralRe: MIDL: Error related to Forward Dec;aration Pin
safee ullah28-Mar-03 0:29
safee ullah28-Mar-03 0:29 
GeneralRe: MIDL: Error related to Forward Dec;aration Pin
Ahsan Abbas28-Mar-03 0:54
Ahsan Abbas28-Mar-03 0:54 
GeneralRe: MIDL: Error related to Forward Dec;aration Pin
safee ullah30-Mar-03 19:05
safee ullah30-Mar-03 19:05 
GeneralReverse engineering Information on MsOCF! Pin
safee ullah27-Mar-03 18:49
safee ullah27-Mar-03 18:49 
GeneralRe: Reverse engineering Information on MsOCF! Pin
Stephane Rodriguez.30-Mar-03 7:29
Stephane Rodriguez.30-Mar-03 7:29 
GeneralRe: Reverse engineering Information on MsOCF! Pin
safee ullah31-Mar-03 20:02
safee ullah31-Mar-03 20:02 
GeneralRe: Reverse engineering Information on MsOCF! Pin
Stephane Rodriguez.31-Mar-03 20:14
Stephane Rodriguez.31-Mar-03 20:14 
GeneralRe: Reverse engineering Information on MsOCF! Pin
Anonymous11-Apr-03 0:47
Anonymous11-Apr-03 0:47 
GeneralRe: Reverse engineering Information on MsOCF! Pin
safee ullah11-Apr-03 0:51
safee ullah11-Apr-03 0:51 
GeneralRe: Reverse engineering Information on MsOCF! Pin
Stephane Rodriguez.11-Apr-03 7:03
Stephane Rodriguez.11-Apr-03 7:03 
GeneralRe: Reverse engineering Information on MsOCF! Pin
safee ullah14-Apr-03 1:38
safee ullah14-Apr-03 1:38 
GeneralRe: Reverse engineering Information on MsOCF! Pin
Stephane Rodriguez.14-Apr-03 1:54
Stephane Rodriguez.14-Apr-03 1:54 
GeneralRe: Reverse engineering Information on MsOCF! Pin
safee ullah14-Apr-03 19:17
safee ullah14-Apr-03 19:17 
QuestionHow to mark MFC ActiveX as safe for scripting? Pin
Ted Christiansen27-Mar-03 7:30
Ted Christiansen27-Mar-03 7:30 
AnswerRe: How to mark MFC ActiveX as safe for scripting? Pin
Chris Richardson27-Mar-03 8:28
Chris Richardson27-Mar-03 8:28 
GeneralRe: How to mark MFC ActiveX as safe for scripting? Pin
Ted Christiansen27-Mar-03 12:12
Ted Christiansen27-Mar-03 12:12 
GeneralRe: How to mark MFC ActiveX as safe for scripting? Pin
Chris Richardson27-Mar-03 13:33
Chris Richardson27-Mar-03 13:33 

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.