Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error retrieving reserved status

Status
Not open for further replies.

ctully

IS-IT--Management
Oct 7, 2004
7
CA
I am using this call to try and find the reserved status of a DMS object:

If LL_GetObjectInfo(lSession, lVolumeID, lParentNode, lTemp3) = LL_OK Then
If LL_AssocGetBoolean(lTemp3, "Reserved", buf) = LL_OK Then
lReserved = buf
End If
End if

However, I receive an error(-2147418107?) whenever it is executed. I am able to access other assocs on the getobject without any trouble. Any thoughts?
 
I think you need to use
Code:
LL_AssocGetInteger(Itemp3,"Reserved",buf)
Reserved Integer TRUE (1) if the object is reserved, FALSE (0) otherwise
.In the lapi documentation it is defined as an integer .Examine the objectInfo return values in the prototype.if you were looking for 'Container' you can use Boolean.If the documentation is right that is.Let me know if that works


Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top