Contact an Expert

Thread: [vrf] More on Error 979


Permlink Replies: 13 - Pages: 1 - Last Post: Mar 5, 2006 6:28 PM Last Post By: VRF user
VRF user

Posts: 16,231
Registered: 11/05/08
[vrf] More on Error 979
Posted: Mar 5, 2006 6:28 PM   in response to: VRF user in response to: VRF user
Click to report abuse...   Click to reply to this thread Reply
I get the red error message without
> running the program.

I got it. That's why I said it's obviously the control crashing and it has
something to do with drawing: a control that has a display or user interface
is responsible for drawing itself - not the container. VEE simply tells the
control to draw itself and it blows up.

> This implies that the Vee development
> enviornment is doing something
> substancial with objects that are
> visible that its not doing with
> objects off the screen.

Yup, they're rendered. Many scrolling views won't even attempt to render
objects that are outside the limits of the view. Interestingly, if VEE
isn't one of those (objects are rendered whatever their position) then you
have nailed it down to a drawing library or driver issue.

> This program runs correctly on many
> Windows2000 computers.

Find out if the control is capable of making use of GDI+ or any other
drawing library such as OpenGL or DirectDraw. Check the configuration of the
computers that run correctly against those that don't. If you don't find any
drawing differences, or if the control only uses GDI calls it's possible,
though unlikely, that it could boil down to a video driver. The driver may
be propagating some error that doesn't cause a system crash back to user
code that can't handle the problem and crashes.

Any way you look at it you'll need intimate details of the control, and
unfortunately that's not likely to happen. Exactly what control is this?
-SHAWN-



---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe please send an email to: "vrf-request@lists.it.agilent.com"
leave the subject blank and in the message body put only the word "subscribe"
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".

bwalden

Posts: 176
Registered: 11/11/08
[vrf] More on Error 979
Posted: Mar 5, 2006 6:54 PM   in response to: VRF user in response to: VRF user
Click to report abuse...   Click to reply to this thread Reply
In reading the two responses I've received to date on my Error 979
message I see I may not have emphasized what I find to be most curious -
I get the red error message without running the program. All I need to
do is drag the minimized object box representing the strip chart ActiveX
object into view on the main screen. If the edge of that box becomes
visible, error 979 appears.

This implies that the Vee development enviornment is doing something
substancial with objects that are visible that its not doing with
objects off the screen. It also implies that if I change the resolution
of my screen so that the entire main window is visable, I will not be
able to load this program without seeing the error message.

This program runs correctly on many Windows2000 computers. However, so
far I have found three that have the problem.

Barrie


---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe please send an email to: "vrf-request@lists.it.agilent.com"
leave the subject blank and in the message body put only the word "subscribe"
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".

bwalden

Posts: 176
Registered: 11/11/08
[vrf] More on Error 979
Posted: Mar 6, 2006 1:12 AM   in response to: VRF user in response to: VRF user
Click to report abuse...   Click to reply to this thread Reply
Hi Shawn (and others),

Its Strip.ocx developed by GlobalMajic. I use a number of their controls
and generally don't have any problems. Even this one has worked well in
the past.

I have thought of some things to try tonight so I may know more by
tomorrow. The people at GlobalMajic responded to my request for help
almost immediately but I don't see how I can send them useful "sample
code" since Vee is not something they work with routinely.

Barrie


---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe please send an email to: "vrf-request@lists.it.agilent.com"
leave the subject blank and in the message body put only the word "subscribe"
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".

VRF user

Posts: 16,231
Registered: 11/05/08
[vrf] More on Error 979
Posted: Mar 6, 2006 1:39 AM   in response to: VRF user in response to: VRF user
Click to report abuse...   Click to reply to this thread Reply
The people at GlobalMajic responded
> to my request for help almost
> immediately but I don't see how I can
> send them useful "sample code" since
> Vee is not something they work with
> routinely.

Well it's a start anyway. Just a real quick overview: I see the help doesn't
say anything about drawing library selection. Nothing real obvious jumps
out. It's authored with MFC - that helps. The control test container may
come up with something. Other than that you might want to be suspicious of
any fonts you used. Maybe. Some like, backwaters fonts (for lack of a better
term) can cause all kinds of drawing problems. My first impression is it
looks very well done and I'd never expect any trouble with it.

Is there any extraordinary buffering going on?
-SHAWN-



---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe please send an email to: "vrf-request@lists.it.agilent.com"
leave the subject blank and in the message body put only the word "subscribe"
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".

VRF user

Posts: 16,231
Registered: 11/05/08
[vrf] More on Error 979
Posted: Mar 6, 2006 4:15 AM   in response to: VRF user in response to: VRF user
Click to report abuse...   Click to reply to this thread Reply
If the OWNER of the activeX supports
> VB6.0....then Vee will support it. (IMO)

Mostly. As far as ActiveX goes, that's true. At least that was always the
plan, ever since the specification was codified way back when. The light
bulb went on at some point after Visual Basic 2.

The big difference is that most components that we're in the habit of
calling ActiveX controls are actually dual interface controls - they support
ActiveX over IDispatch for scripting languages (like VEE or VEEScript or
whatever you want to call it that you type into a Formula object) and they
support a raw COM interface for compiled languages (like VB, C++, etc).

This particular control is not a dual interface control, so it should work
the same way no mater what hosts it. One thing I can say for sure: there are
definitely problems. OLE View won't instance it at all - it vanishes in a
puff of greasy black smoke. And believe me, that's not easy to do!

Just goes to show: never judge a book by it's cover. It looks good, but
going by established standards it's rotten to the core.
-SHAWN-



---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe please send an email to: "vrf-request@lists.it.agilent.com"
leave the subject blank and in the message body put only the word "subscribe"
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".

VRF user

Posts: 16,231
Registered: 11/05/08
[vrf] More on Error 979
Posted: Mar 6, 2006 4:20 AM   in response to: VRF user in response to: VRF user
Click to report abuse...   Click to reply to this thread Reply
Welp, that's the end of that. I figured I could probably poke it a little
and find something obvious but that's not the case. The standard testing
tools won't even touch it. For one thing I guess that shows it wasn't tested
before release ;-)
-SHAWN-



---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe please send an email to: "vrf-request@lists.it.agilent.com"
leave the subject blank and in the message body put only the word "subscribe"
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".

VRF user

Posts: 16,231
Registered: 11/05/08
[vrf] More on Error 979
Posted: Mar 6, 2006 8:10 AM   in response to: VRF user in response to: VRF user
Click to report abuse...   Click to reply to this thread Reply
In reading the two responses I've received to date on my Error 979 message I see I may not have emphasized what I find to be most curious - I get the red error message without running the program. All I need to do is drag the minimized object box representing the strip chart ActiveX object into view on the main screen. If the edge of that box becomes visible, error 979 appears.

This implies that the Vee development enviornment is doing something substancial with objects that are visible that its not doing with objects off the screen. It also implies that if I change the resolution of my screen so that the entire main window is visable, I will not be able to load this program without seeing the error message.

This program runs correctly on many Windows2000 computers. However, so far I have found three that have the problem.

Barrie


---
To subscribe please send an email to: "vrf-request@lists.it.agilent.com"
leave the subject blank and in the message body put only the word "subscribe"
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
VRF user

Posts: 16,231
Registered: 11/05/08
[vrf] More on Error 979
Posted: Mar 6, 2006 8:42 AM   in response to: VRF user in response to: VRF user
Click to report abuse...   Click to reply to this thread Reply
I get the red error message without
> running the program.

I got it. That's why I said it's obviously the control crashing and it has something to do with drawing: a control that has a display or user interface is responsible for drawing itself - not the container. VEE simply tells the control to draw itself and it blows up.

> This implies that the Vee development
> enviornment is doing something
> substancial with objects that are
> visible that its not doing with
> objects off the screen.

Yup, they're rendered. Many scrolling views won't even attempt to render objects that are outside the limits of the view. Interestingly, if VEE
isn't one of those (objects are rendered whatever their position) then you have nailed it down to a drawing library or driver issue.

> This program runs correctly on many
> Windows2000 computers.

Find out if the control is capable of making use of GDI+ or any other drawing library such as OpenGL or DirectDraw. Check the configuration of the computers that run correctly against those that don't. If you don't find any drawing differences, or if the control only uses GDI calls it's possible, though unlikely, that it could boil down to a video driver. The driver may be propagating some error that doesn't cause a system crash back to user code that can't handle the problem and crashes.

Any way you look at it you'll need intimate details of the control, and unfortunately that's not likely to happen. Exactly what control is this?
-SHAWN-



---
To subscribe please send an email to: "vrf-request@lists.it.agilent.com"
leave the subject blank and in the message body put only the word "subscribe"
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
VRF user

Posts: 16,231
Registered: 11/05/08
[vrf] More on Error 979
Posted: Mar 6, 2006 2:27 PM   in response to: VRF user in response to: VRF user
Click to report abuse...   Click to reply to this thread Reply
Hi Shawn (and others),

Its Strip.ocx developed by GlobalMajic. I use a number of their controls and generally don't have any problems. Even this one has worked well in the past.

I have thought of some things to try tonight so I may know more by tomorrow. The people at GlobalMajic responded to my request for help almost immediately but I don't see how I can send them useful "sample code" since Vee is not something they work with routinely.

Barrie


---
To subscribe please send an email to: "vrf-request@lists.it.agilent.com"
leave the subject blank and in the message body put only the word "subscribe"
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
VRF user

Posts: 16,231
Registered: 11/05/08
[vrf] More on Error 979
Posted: Mar 6, 2006 3:51 PM   in response to: VRF user in response to: VRF user
Click to report abuse...   Click to reply to this thread Reply
The people at GlobalMajic responded
> to my request for help almost
> immediately but I don't see how I can
> send them useful "sample code" since
> Vee is not something they work with
> routinely.

Well it's a start anyway. Just a real quick overview: I see the help doesn't say anything about drawing library selection. Nothing real obvious jumps out. It's authored with MFC - that helps. The control test container may come up with something. Other than that you might want to be suspicious of any fonts you used. Maybe. Some like, backwaters fonts (for lack of a better
term) can cause all kinds of drawing problems. My first impression is it looks very well done and I'd never expect any trouble with it.

Is there any extraordinary buffering going on?
-SHAWN-



---
To subscribe please send an email to: "vrf-request@lists.it.agilent.com"
leave the subject blank and in the message body put only the word "subscribe"
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
willie.kiely

Posts: 44
Registered: 11/11/08
[vrf] More on Error 979
Posted: Mar 6, 2006 4:48 PM   in response to: VRF user in response to: VRF user
Click to report abuse...   Click to reply to this thread Reply
<.</FONT></DIV><DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV><DIV dir=ltr><FONT face=Arial size=2>Regards,</FONT></DIV></DIV><DIV dir=ltr><BR><HR tabIndex=-1><FONT face=Tahoma size=2><B>From:</B> Shawn Fessenden mailto:shawn@testech-ltd.com<BR><B>Sent:</B> Mon 06/03/2006 22:39<BR><B>To:</B> VRF<BR><B>Subject:</B> RE: vrf More on Error 979<BR></FONT><BR></DIV><DIV><P><FONT size=2>> The people at GlobalMajic responded<BR>> to my request for help almost<BR>> immediately but I don't see how I can<BR>> send them useful "sample code" since<BR>> Vee is not something they work with<BR>> routinely.<BR><BR>Well it's a start anyway. Just a real quick overview: I see the help doesn't<BR>say anything about drawing library selection. Nothing real obvious jumps<BR>out. It's authored with MFC - that helps. The control test container may<BR>come up with something. Other than that you might want to be suspicious of<BR>any fonts you used. Maybe. Some like, backwaters fonts (for lack of a better<BR>term) can cause all kinds of drawing problems. My first impression is it<BR>looks very well done and I'd never expect any trouble with it.<BR><BR>Is there any extraordinary buffering going on?<BR>-SHAWN-<BR><BR><BR></FONT></P></DIV><BR>---<BR>You are currently subscribed to vrf as: rsb@soco.agilent.com<BR>To subscribe please send an email to: "vrf-request@lists.it.agilent.com"<BR>leave the subject blank and in the message body put only the word "subscribe"<BR>To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".<BR>To send messages to this mailing list, email "vrf@agilent.com". <BR>If you need help with the mailing list send a message to<BR>"owner-vrf@it.lists.it.agilent.com".<BR>Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".</BODY></HTML>
VRF user

Posts: 16,231
Registered: 11/05/08
[vrf] More on Error 979
Posted: Mar 6, 2006 5:01 PM   in response to: VRF user in response to: VRF user
Click to report abuse...   Click to reply to this thread Reply
My two cent.....
 
If the OWNER of the activeX supports VB6.0....then Vee will support it. (IMO)
 
I suggest you simulate the problem in VB6....
 
This has worked with excellent response from NI on their activeX stuff for vision. Basically take one of their VB examples, and modify the basic crash. I guarantee it will crash in VB aswell.
 
I know I'm being very simplistic, but, as far as I know, Vee implements the ActiveX protocol as good as VB.....something that is the reason NI doesn't support Delphi.
 
I have got 979's from Vee ( using NI ocx stuff) , and ultimately didn't re-occur with a NI patch of their ActiveX!.
 
Regards,

  _____  

From: Shawn Fessenden mailto:shawn@testech-ltd.com
Sent: Mon 06/03/2006 22:39
To: VRF
Subject: RE: vrf More on Error 979



> The people at GlobalMajic responded
> to my request for help almost
> immediately but I don't see how I can
> send them useful "sample code" since
> Vee is not something they work with
> routinely.

Well it's a start anyway. Just a real quick overview: I see the help doesn't
say anything about drawing library selection. Nothing real obvious jumps
out. It's authored with MFC - that helps. The control test container may
come up with something. Other than that you might want to be suspicious of
any fonts you used. Maybe. Some like, backwaters fonts (for lack of a better
term) can cause all kinds of drawing problems. My first impression is it
looks very well done and I'd never expect any trouble with it.

Is there any extraordinary buffering going on?
-SHAWN-





---

To subscribe please send an email to: "vrf-request@lists.it.agilent.com"
leave the subject blank and in the message body put only the word "subscribe"
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
VRF user

Posts: 16,231
Registered: 11/05/08
[vrf] More on Error 979
Posted: Mar 6, 2006 6:30 PM   in response to: VRF user in response to: VRF user
Click to report abuse...   Click to reply to this thread Reply
If the OWNER of the activeX supports
> VB6.0....then Vee will support it. (IMO)

Mostly. As far as ActiveX goes, that's true. At least that was always the plan, ever since the specification was codified way back when. The light bulb went on at some point after Visual Basic 2.

The big difference is that most components that we're in the habit of calling ActiveX controls are actually dual interface controls - they support ActiveX over IDispatch for scripting languages (like VEE or VEEScript or whatever you want to call it that you type into a Formula object) and they support a raw COM interface for compiled languages (like VB, C++, etc).

This particular control is not a dual interface control, so it should work the same way no mater what hosts it. One thing I can say for sure: there are definitely problems. OLE View won't instance it at all - it vanishes in a puff of greasy black smoke. And believe me, that's not easy to do!

Just goes to show: never judge a book by it's cover. It looks good, but going by established standards it's rotten to the core.
-SHAWN-



---
To subscribe please send an email to: "vrf-request@lists.it.agilent.com"
leave the subject blank and in the message body put only the word "subscribe"
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
VRF user

Posts: 16,231
Registered: 11/05/08
[vrf] More on Error 979
Posted: Mar 6, 2006 6:34 PM
Click to report abuse...   Click to reply to this thread Reply
Welp, that's the end of that. I figured I could probably poke it a little and find something obvious but that's not the case. The standard testing tools won't even touch it. For one thing I guess that shows it wasn't tested before release ;-)
-SHAWN-



---
To subscribe please send an email to: "vrf-request@lists.it.agilent.com"
leave the subject blank and in the message body put only the word "subscribe"
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".

Point your RSS reader here for a feed of the latest messages in all forums