The subkey only works if you are connecting to a Universe server that is
running device licensing rather than server licensing.

The subkey needs to be the same for each ten sessions otherwise each one
will be treated as an individual session.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of UmFooFoo Murphy
Sent: 07 December 2004 21:38
To: [EMAIL PROTECTED]
Subject: [U2] UniObject SubKeys

Hello All,

I have an application that needs to be able to connect multiple times to
a 
Universe Session.  When I run this application on my local PC I am
unable to 
connect to my local Universe while the application is running.
Likewise, I 
am unable to run the application while connected to a local Universe 
session.  I was told to use SubKeys to solve this problem and even
though I 
read and obeyed the blurb about SubKeys in the UniObjects documentation,
it 
still does not work.

I have a "TheSubKey" as Long variable that I increment each time I
connect 
to UniObjects, like this:

    TheSubKey = TheSubKey + 1: ObjSession.SubKey = Str(TheSubKey)
    ObjSession.Connect

I used the Str() because results from a google search suggested that the

subkey needs to be a string value.  I have also tried it without using
the 
Str() like this:

    TheSubKey = TheSubKey + 1: ObjSession.SubKey = TheSubKey
    ObjSession.Connect


Can anyone point me in the right direction please?

thanks
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/




The information contained in this email is strictly confidential and for the 
use of the addressee only, unless otherwise indicated. If you are not the 
intended recipient, please do not read, copy, use or disclose to others this 
message or any attachment. Please also notify the sender by replying to this 
email or by telephone +44 (0)20 7896 0011 and then delete the email and any 
copies of it. Opinions, conclusions (etc.) that do not relate to the official 
business of this company shall be understood as neither given nor endorsed by 
it.  IG Markets Limited and IG Index Plc are authorised and regulated by the 
Financial Services Authority and, in Australia, by the Australian Securities 
and Investments Commission.
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to