How to get NetLink to connect?

Hi all,

I am trying to connect to a remote database that is on a Domino server. I believe I need to use NetLink to establish a connection with the server before I can access the database. However, I am unable to get NetLink to work properly. Can anyone help me with this?

Does anyone have a working example of this?

Also, what should be passed as the connection information parameter (pConnectInfo)?

Thanks in advance!