Novell API calls to DLL (OpenInsight Specific)
At 11 FEB 1998 11:33:17AM Terry Evans wrote:
I am trying to update some novell system calls to use the newer (and not obsolete) functions available. In almost any case, I need a connection handle to the server before I can get anything else. Used to be able to use the NWGetConnectionHandle(), but it has been obsolete since 6/97. The replacements are NWCCScanConnRefs() and NWCCOpenConnByRef(). Problem I'm having is that the NWCCOpenConnByRef() reports and 'INVALID_PARAMETERS' error when I call it.
dll record for the prototype is:
long pascal NWCCOpenConnByRef(long, long, long, lplong)and the stored procedure is
*——
itr=0
ref=0
state=1
null$=0
hndl=0
loop
this returns zero and the 'ref' field appears validr=NWCCScanConnRefs(itr, ref)until r
this returns the error code 8866hr=NWCCOpenConnByRef(ref, state, null$, hndl)debugrepeat
*—–
anyone see my problem/error or do you have any other way to get the connection handle?