Talk:Pointers

From STRIDE Wiki
Revision as of 23:37, 1 April 2008 by Chrisj (talk | contribs) (New page: This training package, part of Qualification of Parameters, illustrates techniques for qualifying pointer types and objects. Specifically, this means the ability to opaque pointers, set po...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This training package, part of Qualification of Parameters, illustrates techniques for qualifying pointer types and objects. Specifically, this means the ability to opaque pointers, set pointer direction/usage, and creating sized pointers.

1. What is an opaque pointer? 2. What is pointer direction? 3. What is pointer usage? 4. What is a sized pointer?

The command should be entered as a single line: FrameworkSetup.pl

What if FrameworkSetup.pl is not in my path? What if perl is not in my path? What if ‘.pl’ files are not recognized as perl executables on my machine?

Performing the Exercises Compile the workspace manually by clicking on the Compile All Source Files button (no such button).

Use the SCL Pointer wizard to set the pointer type to opaque for the PINT type, … (where is the Pointer wizard?)

Use the SCL Pointer wizard to set the pInt1 parameter (where is this parameter?)

If pointer types are to be numbered, they should start with PINT1 and not have a PINT.

Running only this test did not work for me. I received a bunch of exceptions:


begin

> Warning: The database is out of date. SCL Wizard will be disabled until successful compilation. OLE exception from "":

<No description provided>

Win32::OLE(0.1702) error 0x80020009: "Exception occurred"

   in METHOD/PROPERTYGET "" at C:\s2seaside\packages\Training\InterfaceInstrumentation\Common/CompileAndVerify.pm line 126

OLE exception from "":

<No description provided>

Win32::OLE(0.1702) error 0x80020009: "Exception occurred"

   in METHOD/PROPERTYGET "" at C:\s2seaside\packages\Training\InterfaceInstrumentation\Common/CompileAndVerify.pm line 126

OLE exception from "":

<No description provided>

Win32::OLE(0.1702) error 0x80020009: "Exception occurred"

   in METHOD/PROPERTYGET "" at C:\s2seaside\packages\Training\InterfaceInstrumentation\Common/CompileAndVerify.pm line 126

OLE exception from "":

<No description provided>

Win32::OLE(0.1702) error 0x80020009: "Exception occurred"

   in METHOD/PROPERTYGET "" at C:\s2seaside\packages\Training\InterfaceInstrumentation\Common/CompileAndVerify.pm line 126

OLE exception from "":

<No description provided>

Win32::OLE(0.1702) error 0x80020009: "Exception occurred"

   in METHOD/PROPERTYGET "" at C:\s2seaside\packages\Training\InterfaceInstrumentation\Common/CompileAndVerify.pm line 126

OLE exception from "":

<No description provided>

Win32::OLE(0.1702) error 0x80020009: "Exception occurred"

   in METHOD/PROPERTYGET "" at C:\s2seaside\packages\Training\InterfaceInstrumentation\Common/CompileAndVerify.pm line 126


Tests Complete Test Report created file://C:\s2\seaside\workspaces\Training\InterfaceInstrumentation\Qualification\Pointers\Pointers.html

OLE exception from "":

<No description provided>

Win32::OLE(0.1702) error 0x80020009: "Exception occurred"

   in METHOD/PROPERTYGET "" at C:\s2seaside\packages\Training\InterfaceInstrumentation\Common/CompileAndVerify.pm line 126

OLE exception from "":

<No description provided>

Win32::OLE(0.1702) error 0x80020009: "Exception occurred"

   in METHOD/PROPERTYGET "" at C:\s2seaside\packages\Training\InterfaceInstrumentation\Common/CompileAndVerify.pm line 126

OLE exception from "":

<No description provided>

Win32::OLE(0.1702) error 0x80020009: "Exception occurred"

   in METHOD/PROPERTYGET "" at C:\s2seaside\packages\Training\InterfaceInstrumentation\Common/CompileAndVerify.pm line 126

OLE exception from "":

<No description provided>

Win32::OLE(0.1702) error 0x80020009: "Exception occurred"

   in METHOD/PROPERTYGET "" at C:\s2seaside\packages\Training\InterfaceInstrumentation\Common/CompileAndVerify.pm line 126

OLE exception from "":

<No description provided>

Win32::OLE(0.1702) error 0x80020009: "Exception occurred"

   in METHOD/PROPERTYGET "" at C:\s2seaside\packages\Training\InterfaceInstrumentation\Common/CompileAndVerify.pm line 126

OLE exception from "":

<No description provided>

Win32::OLE(0.1702) error 0x80020009: "Exception occurred"

   in METHOD/PROPERTYGET "" at C:\s2seaside\packages\Training\InterfaceInstrumentation\Common/CompileAndVerify.pm line 126


Tests Complete Test Report created file://C:\s2seaside\workspaces\Training\InterfaceInstrumentation\Qualification\Pointers\Pointers.html



end

In Pointers Direction Test #2, if Private/Pool is automatically set. Why is this?

For pointers direction test #7, I inadvertently set the pointer to IN/PRIVATE. What do I do? It won’t let me undo it.

For pointers direction test #7, the selection for ps1_2 to OUT/PRIVATE is grayed out so that I cannot set it. What do I do?

Again when I perform the run script files button I receive a bunch of error messages.

In Sized Pointers Test #2 part b, where are the contents of size pointer and why are they return?

In Sized Pointers Test#3 part b, I cannot set the pointer to have POOL usage. Do I select fixed or variable?

In Sized Pointers Test#4, I entered size as the field, but it wouldn’t take it. You need to state that the user needs to press the ‘…’ button to set the size field.

Overall it is pretty good, but it does presume that the user has some knowledge of Stride. We need to do more "pretending we are seeing it the first time" in our documentation. As a new user of different pieces of software I get upset when the documenter skipped the stuff they deemed simple when they came from a knowledgeable viewpoint of exposure.