Problem with building a non-shareable QKDRIVER

Hurworth, Erik Erik.Hurworth@cognos.com
Thu, 3 May 2001 06:42:42 -0400


Hello all,

If you are in testing mode, it is easier to use the disk image of Quick then
you don't have to keep running INSTALL to install and deinstall the QKDRIVER
every
time you make a change to your 3GL routines.

Use BuildExternal to build your QKDRIVER.EXE object library in the normal
way.
Set up a symbol to run the uninstalled disk version of Quick:-

$QUICK == "PH_LOCATION:QUICKA710F.EXE;"

Note the ; character at the end of the symbol definition.

Now, when you run the command QUICK, it will run the disk version and will
then
be able to find the QKDRIVER.EXE in the same directory.

I hope this is what you are after,


Regards

Erik A. Hurworth
Technical Supervisor
Customer Support
__________________________________________________
Cognos Ltd.                   Phone:         +44 / (0)1344 / 707799
Westerly Point                         
Market Street                e-mail:          erik.hurworth@cognos.com
Bracknell
Berkshire
RG12 1QB

Cognos Support Page:      http://support.cognos.com

Cognos Ltd.
SeeBusiness. UniteBusiness. ShareBusiness.

Please send any e-mail response regarding this communication to
support.uk@cognos.com and it will be directed to the specialist dealing with
your call. Please make sure that you include the call reference number in
the subject line of your e-mail.

(Cognos Limited
Registered in England, number 1635598.  Registered office:  Westerly Point,
Market Street, Bracknell, Berkshire, RG12 1QB

This e-mail may contain confidential information and is confidential to the
user of the e-mail address to which it is addressed.  No-one else may copy
or forward all or any of this e-mail in any form.  If you receive this
e-mail in error please destroy this message and notify the sender by return
e-mail)


-----Original Message-----
From: Chris Sharman [mailto:Chris.Sharman@ccagroup.co.uk]
Sent: 03 May 2001 11:34
To: RessingM@unive.nl
Cc: Chris.Sharman@ccagroup.co.uk; powerh-l@lists.swau.edu
Subject: RE: Problem with building a non-shareable QKDRIVER



> we are using PH 7.10F2 on Open VMS for Alpha 7.1.
> Because we are having some trouble with external routines (C-routines) we
> tried to build the QKDRIVER as non-shareable instead of shareable. 
> We didn't manage to do that because after calling 'buildexternal' with the
> '/noshare' flag we get the following error:

Non-shareable won't work.
An image is either shareable or executable, and you can only run one
executable
at a time (eg QUICKA710F.EXE) - the images it links to must be shareable.
Shareable images by definition don't (mustn't) have a main() program, just
some
functions of global scope, declared as universal by a symbol_vector in the
linker options file.

I've never used buildexternal myself: I just link my own shareable images,
and
I've never had any trouble.

In the past I've used ph_location:dalock.aobj (which I don't recommend).
I've run into conflict between VAXC & DECC. (I think DALOCK used to be
VAXC).

I used to use the following in my linker options files:

 sys$share:vaxcrtl/share
 psect_attr=userbreak,noshr     ! from DALOCK/VAXC

but no longer need it, apparently (710G3, Alpha VMS 7.1).
We're mostly Pascal here, rather than C, but we do have one DECC module I
can
think of which we've successfully put into a QKDRIVER image & called from
Quick.

If you need more specific help, you'll have to more clearly describe your
problems.

Regards,
Chris Sharman
_______________________________________________________________________
Chris.Sharman@CCAgroup.co.uk		http://www.ccagroup.co.uk/
CCA Stationery Ltd, Eastway, Fulwood, Preston, Lancashire, PR2 9WS.


-----------------------------------------------------------------------

Any views expressed in this message are those of the sender and not
necessarily those of CCA Group.  The unauthorized use, disclosure,
copying or alteration of this message is forbidden.  The contents of
this message may be confidential and/or privileged, copyright CCA Group
and are intended solely for the use of the individual or entity to whom
they are addressed.  Whilst this message has been scanned, CCA Group
cannot guarantee that it is virus free or compatible with your systems
and accepts no responsibility for any loss or damage arising from its
use. The recipient is advised to run their own anti-virus software. If
you receive this message in error please contact
postmaster@ccagroup.co.uk immediately, destroy any copies and delete it
from your computer systems.

= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l@lists.swau.edu
Subscribe: "subscribe" in message body to powerh-l-request@lists.swau.edu
Unsubscribe: "unsubscribe" in message body to
powerh-l-request@lists.swau.edu
http://lists.swau.edu/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.