I am having some issues with protected memory violations in trying to use the GW API to use either the Connect() or ConnectByDN() methods so we can programmatically create a GW User account for an existing NDS user.

From what I see, it would seem to me that the API requires an active login context for a user to work properly. Can any of you verify that a logged on Netware user session must be present in order to use the API?

I don't see any option in the API to bind to NDS or GW using a logon method. If anyone knows of such a method in the API, please advise.