Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

createInstance Help Needed...

4 posts in General Discussion (old) Last posting was on 2000-03-31 20:42:50.0Z
Rob Teich Posted on 2000-03-31 16:18:41.0Z
Newsgroups: sybase.public.easerver
Reply-To: "Rob Teich" <rteich@dyn-data.com>
From: "Rob Teich" <rteich@dyn-data.com>
Subject: createInstance Help Needed...
Date: Fri, 31 Mar 2000 11:18:41 -0500
Lines: 50
Organization: DDS
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: charon.lifescape.com 63.86.26.130
Message-ID: <347_uXCmb0ym$GA.298@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25088
Article PK: 228454

Hello All,

I am looking for help with createInstance calls for Jaguar components.

I have code that has been working in PB7.0 that is now giving me errors in
PB7.02.

I have a variable defined in the client code as
InterfaceManager inv_interfacemanager

Where InterfaceManager is a proxy to a Jaguar component (imcustomerimpl) of
type n_cst_interfacemanager inherited from ddseaf_n_cst_interfacemanager
inherited from n_cst_component which in turn is inherited from
ddseaf_n_cst_component and finally PB userobject.

And a component in the server code defined as
imcustomerimpl inherited from ddseaf_n_cst_interfacemanager which is
inherited from
n_cst_component which in turn is inherited from ddseaf_n_cst_component and
finally from
a PB nonvisualobject.

I am using the call
createInstance(inv_interfacemanager, "imcustomer" )

Where imcustomer points to imcustomerimpl.

This call is returning...
Error Number 23.
Error text = Cannot assign object of type imcustomer to variable of type
interfacemanager.
Window/Menu/Object = ddseaf_n_cst_interfaceservice.
Error Object/Control = ddseaf_n_cst_interfaceservice.
Script = setinterfacemanager.
Line in Script = 52.

The error points directly to the createinstance line shown above.

This approach has worked in the past under PB7.0.

Is anyone aware of any changes to the compiler that would no longer allow an
assignment of this
type to occur?

Any help would be appreciated.

Thanks,
Rob


Scott McReynolds [Sybase] Posted on 2000-03-31 16:24:13.0Z
Newsgroups: sybase.public.easerver
From: "Scott McReynolds [Sybase]" <scottmc@sybase.com>
Subject: Re: createInstance Help Needed...
Date: Fri, 31 Mar 2000 09:24:13 -0700
Lines: 63
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: scottmc-lpt.sybase.com 157.133.56.40
Message-ID: <347_whymr4ym$GA.202@forums.sybase.com>
References: <347_uXCmb0ym$GA.298@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25086
Article PK: 155336

Rob,

After upgrading to 7.0.2 did you recreate the proxies?

Scott

"Rob Teich" <rteich@dyn-data.com> wrote in message
news:uXCmb0ym$GA.298@forums.sybase.com...
> Hello All,
>
> I am looking for help with createInstance calls for Jaguar components.
>
> I have code that has been working in PB7.0 that is now giving me errors in
> PB7.02.
>
> I have a variable defined in the client code as
> InterfaceManager inv_interfacemanager
>
> Where InterfaceManager is a proxy to a Jaguar component (imcustomerimpl)
of
> type n_cst_interfacemanager inherited from ddseaf_n_cst_interfacemanager
> inherited from n_cst_component which in turn is inherited from
> ddseaf_n_cst_component and finally PB userobject.
>
> And a component in the server code defined as
> imcustomerimpl inherited from ddseaf_n_cst_interfacemanager which is
> inherited from
> n_cst_component which in turn is inherited from ddseaf_n_cst_component
and
> finally from
> a PB nonvisualobject.
>
> I am using the call
> createInstance(inv_interfacemanager, "imcustomer" )
>
> Where imcustomer points to imcustomerimpl.
>
> This call is returning...
> Error Number 23.
> Error text = Cannot assign object of type imcustomer to variable of type
> interfacemanager.
> Window/Menu/Object = ddseaf_n_cst_interfaceservice.
> Error Object/Control = ddseaf_n_cst_interfaceservice.
> Script = setinterfacemanager.
> Line in Script = 52.
>
> The error points directly to the createinstance line shown above.
>
> This approach has worked in the past under PB7.0.
>
> Is anyone aware of any changes to the compiler that would no longer allow
an
> assignment of this
> type to occur?
>
> Any help would be appreciated.
>
> Thanks,
> Rob
>
>


Rob Teich Posted on 2000-03-31 16:45:43.0Z
Newsgroups: sybase.public.easerver
Reply-To: "Rob Teich" <rteich@dyn-data.com>
From: "Rob Teich" <rteich@dyn-data.com>
Subject: Re: createInstance Help Needed...
Date: Fri, 31 Mar 2000 11:45:43 -0500
Lines: 72
Organization: DDS
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: charon.lifescape.com 63.86.26.130
Message-ID: <347_z7DyiDzm$GA.298@forums.sybase.com>
References: <347_uXCmb0ym$GA.298@forums.sybase.com> <347_whymr4ym$GA.202@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25084
Article PK: 155332

Scott,
Yes. No change.
Rob

"Scott McReynolds [Sybase]" <scottmc@sybase.com> wrote in message
news:whymr4ym$GA.202@forums.sybase.com...
> Rob,
>
> After upgrading to 7.0.2 did you recreate the proxies?
>
> Scott
>
> "Rob Teich" <rteich@dyn-data.com> wrote in message
> news:uXCmb0ym$GA.298@forums.sybase.com...
> > Hello All,
> >
> > I am looking for help with createInstance calls for Jaguar components.
> >
> > I have code that has been working in PB7.0 that is now giving me errors
in
> > PB7.02.
> >
> > I have a variable defined in the client code as
> > InterfaceManager inv_interfacemanager
> >
> > Where InterfaceManager is a proxy to a Jaguar component (imcustomerimpl)
> of
> > type n_cst_interfacemanager inherited from ddseaf_n_cst_interfacemanager
> > inherited from n_cst_component which in turn is inherited from
> > ddseaf_n_cst_component and finally PB userobject.
> >
> > And a component in the server code defined as
> > imcustomerimpl inherited from ddseaf_n_cst_interfacemanager which is
> > inherited from
> > n_cst_component which in turn is inherited from ddseaf_n_cst_component
> and
> > finally from
> > a PB nonvisualobject.
> >
> > I am using the call
> > createInstance(inv_interfacemanager, "imcustomer" )
> >
> > Where imcustomer points to imcustomerimpl.
> >
> > This call is returning...
> > Error Number 23.
> > Error text = Cannot assign object of type imcustomer to variable of type
> > interfacemanager.
> > Window/Menu/Object = ddseaf_n_cst_interfaceservice.
> > Error Object/Control = ddseaf_n_cst_interfaceservice.
> > Script = setinterfacemanager.
> > Line in Script = 52.
> >
> > The error points directly to the createinstance line shown above.
> >
> > This approach has worked in the past under PB7.0.
> >
> > Is anyone aware of any changes to the compiler that would no longer
allow
> an
> > assignment of this
> > type to occur?
> >
> > Any help would be appreciated.
> >
> > Thanks,
> > Rob
> >
> >
>
>


Scott McReynolds [Sybase] Posted on 2000-03-31 20:42:50.0Z
Newsgroups: sybase.public.easerver
From: "Scott McReynolds [Sybase]" <scottmc@sybase.com>
Subject: Re: createInstance Help Needed...
Date: Fri, 31 Mar 2000 13:42:50 -0700
Lines: 92
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: scottmc-lpt.sybase.com 157.133.56.40
Message-ID: <347_dAcoNJ1m$GA.307@forums.sybase.com>
References: <347_uXCmb0ym$GA.298@forums.sybase.com> <347_whymr4ym$GA.202@forums.sybase.com> <347_z7DyiDzm$GA.298@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25042
Article PK: 155328

Rob,

Let me be sure I understand the problem correctly, are you trying to use
create instance to create the actually proxy of the object itself, or the
ancestor of the object?

Have do done a full rebuild on the client project? Have you re-deployed the
PB objects to EAServer after installing 7.0.2?

Scott

"Rob Teich" <rteich@dyn-data.com> wrote in message
news:z7DyiDzm$GA.298@forums.sybase.com...
> Scott,
> Yes. No change.
> Rob
> "Scott McReynolds [Sybase]" <scottmc@sybase.com> wrote in message
> news:whymr4ym$GA.202@forums.sybase.com...
> > Rob,
> >
> > After upgrading to 7.0.2 did you recreate the proxies?
> >
> > Scott
> >
> > "Rob Teich" <rteich@dyn-data.com> wrote in message
> > news:uXCmb0ym$GA.298@forums.sybase.com...
> > > Hello All,
> > >
> > > I am looking for help with createInstance calls for Jaguar components.
> > >
> > > I have code that has been working in PB7.0 that is now giving me
errors
> in
> > > PB7.02.
> > >
> > > I have a variable defined in the client code as
> > > InterfaceManager inv_interfacemanager
> > >
> > > Where InterfaceManager is a proxy to a Jaguar component
(imcustomerimpl)
> > of
> > > type n_cst_interfacemanager inherited from
ddseaf_n_cst_interfacemanager
> > > inherited from n_cst_component which in turn is inherited from
> > > ddseaf_n_cst_component and finally PB userobject.
> > >
> > > And a component in the server code defined as
> > > imcustomerimpl inherited from ddseaf_n_cst_interfacemanager which is
> > > inherited from
> > > n_cst_component which in turn is inherited from
ddseaf_n_cst_component
> > and
> > > finally from
> > > a PB nonvisualobject.
> > >
> > > I am using the call
> > > createInstance(inv_interfacemanager, "imcustomer" )
> > >
> > > Where imcustomer points to imcustomerimpl.
> > >
> > > This call is returning...
> > > Error Number 23.
> > > Error text = Cannot assign object of type imcustomer to variable of
type
> > > interfacemanager.
> > > Window/Menu/Object = ddseaf_n_cst_interfaceservice.
> > > Error Object/Control = ddseaf_n_cst_interfaceservice.
> > > Script = setinterfacemanager.
> > > Line in Script = 52.
> > >
> > > The error points directly to the createinstance line shown above.
> > >
> > > This approach has worked in the past under PB7.0.
> > >
> > > Is anyone aware of any changes to the compiler that would no longer
> allow
> > an
> > > assignment of this
> > > type to occur?
> > >
> > > Any help would be appreciated.
> > >
> > > Thanks,
> > > Rob
> > >
> > >
> >
> >
>
>