[omniORB] This is strange construct, but ...

aefimov eas@mail.ku.ru
Tue, 28 Aug 2001 21:59:41 +0500


This is a multi-part message in MIME format.

------=_NextPart_000_0013_01C1300C.BD56AEC0
Content-Type: text/plain;
	charset="koi8-r"
Content-Transfer-Encoding: quoted-printable

Hi!

My question is ...

I have file ap41.idl ...

// file ap41.idl
module Application_context_schema
{
 interface Application_context
 {
  //...
 };
};

... and file ap26.idl ...

// ap26.idl
module SDAI
{
 #include "part41.idl"
};

... both of them is parsed by omniidl is good.
But when I am compiling the stub produced by omniidl (ap26_s.cpp) I have =
an error
"error C2039: 'Application_context_schema' : is not a member of 'SDAI'".
MSVC++6.0
What can I do?
The usage of the #include "part41.idl" like in ap26.idl is very =
important for me

------=_NextPart_000_0013_01C1300C.BD56AEC0
Content-Type: text/html;
	charset="koi8-r"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Dkoi8-r" http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi!</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>My question is ...</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have file ap41.idl ...</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>// file ap41.idl<BR>module=20
Application_context_schema<BR>{<BR>&nbsp;interface=20
Application_context<BR>&nbsp;{<BR>&nbsp;&nbsp;//...<BR>&nbsp;};<BR>};</FO=
NT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>... and file ap26.idl ...</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>// ap26.idl<BR>module =
SDAI<BR>{<BR>&nbsp;#include=20
"part41.idl"<BR>};</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>... both of them is parsed by omniidl =
is=20
good.<BR>But when I am compiling the stub produced by omniidl =
(ap26_s.cpp) I=20
have an error<BR>"error C2039: 'Application_context_schema' : is not a =
member of=20
'SDAI'".<BR>MSVC++6.0<BR>What can I do?<BR>The usage of the #include=20
"part41.idl" like in ap26.idl is very important for=20
me</FONT></DIV></BODY></HTML>

------=_NextPart_000_0013_01C1300C.BD56AEC0--