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.

Memory Error when an activex control is added

2 posts in Objects Last posting was on 2005-07-18 12:21:26.0Z
Ravikiran Posted on 2005-07-14 15:15:37.0Z
Sender: 6227.42d67fe6.1804289383@sybase.com
From: Ravikiran
Newsgroups: sybase.public.powerbuilder.objects
Subject: Memory Error when an activex control is added
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <42d68194.6256.1681692777@sybase.com>
X-Original-NNTP-Posting-Host: 10.22.241.42
X-Original-Trace: 14 Jul 2005 08:15:32 -0700, 10.22.241.42
Lines: 49
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 14 Jul 2005 08:15:34 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 14 Jul 2005 08:15:37 -0700
X-Trace: forums-1-dub 1121354137 10.22.108.75 (14 Jul 2005 08:15:37 -0700)
X-Original-Trace: 14 Jul 2005 08:15:37 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8500
Article PK: 735723

Hello,
I am adding a activex control called "Application Xtender
View control" during design time in a window of a
powerbuilder application. After dropping the control on the
window and try to save, system is throwing an application
error mentioned below in a message box. Application crashes
out after closing the messagebox.

The instruction at "0x7c1b6cae" referenced memory at
"0x00000000" The memory could not be "read".


(please note: i am adding this control during design time
not runtime). Due to this i am not able to use this control
in my powerbuilder application.

But i can add and use the same control in a similar visual
basic application. I am not getting any sort of memory
errors either in design time or runtime.

I have tried the same by adding the .ocx file, respective
dlls, vb runtime dlls in my powerbuilder application
directory, but still the crash occurs.

In Visual Basic project, following references were selected
for the project

Visual Basic For Applications
Visual Basic runtime objects and procedures
Visual Basic objects and procedures
aedb 1.0 Type Library
OLE Automation
Microsoft Data Source Interfaces

There is no selection of any references in powerbuilder. Do
i have to add any references to fix this issue, if yes how
references are added in powerbuilder.

I have inserted the control from the list of controls
available (including OLE's) when i select an OLE object.

So if anyone of you have any answers or suggestions to this
issue, please let me know.

Thanks in advance & eagerly awaiting for your valuable
replies.

Warm regards,
Ravikiran


Andy Turiansky [TeamSybase] Posted on 2005-07-18 12:21:26.0Z
From: "Andy Turiansky [TeamSybase]" <aturiansky.SpamFree@comcast.net>
Newsgroups: sybase.public.powerbuilder.objects
Organization: 216.98.24.70
References: <42d68194.6256.1681692777@sybase.com>
X-Newsreader: AspNNTP 1.50 (Takeshi Eto)
Subject: Re: Memory Error when an activex control is added
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: web110.discountasp.net
Message-ID: <42db9ec0$1@forums-2-dub>
X-Original-Trace: 18 Jul 2005 05:21:20 -0700, web110.discountasp.net
Lines: 59
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 18 Jul 2005 05:21:23 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 18 Jul 2005 05:21:26 -0700
X-Trace: forums-1-dub 1121689286 10.22.108.75 (18 Jul 2005 05:21:26 -0700)
X-Original-Trace: 18 Jul 2005 05:21:26 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8502
Article PK: 735725

Is it just this one particular OCX that crashes, or does adding any other OCX
cause the same issue? Just wanting to see if it is a problem with that oine OCX
or something else in your configuration. What version of PB are you using?

On 14 Jul 2005 08:15:37 -0700,
in sybase.public.powerbuilder.objects

<Ravikiran> wrote:
>Hello,
>I am adding a activex control called "Application Xtender
>View control" during design time in a window of a
>powerbuilder application. After dropping the control on the
>window and try to save, system is throwing an application
>error mentioned below in a message box. Application crashes
>out after closing the messagebox.
>
>The instruction at "0x7c1b6cae" referenced memory at
>"0x00000000" The memory could not be "read".
>
>
>(please note: i am adding this control during design time
>not runtime). Due to this i am not able to use this control
>in my powerbuilder application.
>
>But i can add and use the same control in a similar visual
>basic application. I am not getting any sort of memory
>errors either in design time or runtime.
>
>I have tried the same by adding the .ocx file, respective
>dlls, vb runtime dlls in my powerbuilder application
>directory, but still the crash occurs.
>
>In Visual Basic project, following references were selected
>for the project
>
>Visual Basic For Applications
>Visual Basic runtime objects and procedures
>Visual Basic objects and procedures
>aedb 1.0 Type Library
>OLE Automation
>Microsoft Data Source Interfaces
>
>There is no selection of any references in powerbuilder. Do
>i have to add any references to fix this issue, if yes how
>references are added in powerbuilder.
>
>I have inserted the control from the list of controls
>available (including OLE's) when i select an OLE object.
>
>So if anyone of you have any answers or suggestions to this
>issue, please let me know.
>
>Thanks in advance & eagerly awaiting for your valuable
>replies.
>
>Warm regards,
>Ravikiran

Andy