IDLJ error / question
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Andrew_Todd
Posted On:   Tuesday, April 2, 2002 08:07 AM

I have the following bit of code in an .idl file. When I run idlj .idl I get an error, sequence_Test is an undeclared type . typedef struct CommissionResponse_struct { Framework::TextData Description; Framework::DateTimeData EffectiveFromDate; Framework::DateTimeData EffectiveToDate; Framework::sequence_TextData ProductList; COMP_COMMISSIONS::sequence_Test tst; } CommissionResponse; typedef sequence sequence_CommissionResponse; typedef struct Test_struct { integer tst; } Test; typedef sequence sequence_Test; Am I not allowed to have an array of object as an attribute of another object?    More>>

I have the following bit of code in an .idl file. When I run idlj .idl I get an error,

sequence_Test is an undeclared type
.


			

typedef struct CommissionResponse_struct
{
Framework::TextData Description;
Framework::DateTimeData EffectiveFromDate;
Framework::DateTimeData EffectiveToDate;
Framework::sequence_TextData ProductList;
COMP_COMMISSIONS::sequence_Test tst;
} CommissionResponse;
typedef sequence sequence_CommissionResponse;

typedef struct Test_struct
{
integer tst;
} Test;
typedef sequence sequence_Test;


Am I not allowed to have an array of object as an attribute of another object?    <<Less

Re: IDLJ error / question

Posted By:   Dermot_Hennessy  
Posted On:   Wednesday, April 3, 2002 04:57 AM

Have you tried declaring CommissionResponse_struct AFTER Test_struct and sequence_Test?
About | Sitemap | Contact