Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

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 valid
r=NWCCScanConnRefs(itr, ref)

until r

  • this returns the error code 8866h
r=NWCCOpenConnByRef(ref, state, null$, hndl)
debug

repeat

*—–

anyone see my problem/error or do you have any other way to get the connection handle?

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/52bca5fa77f60892852565a8005af068.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1