Nsfdbopen returns code 0 but no handle

I’m running an agent on the server where I do a simple NSFDBOPEN. This used to work just fine under Domino 6.5 but now that we’ve upgraded to 8.01, the NSFDBOPEN function returns a code 0 but strangely enough, the handle returned is always 0! All subsequent function calls using this handle abend and I just can’t see why this would have changed.

I declare the NSFDBOPEN like this :

Declare Function AIX_NSFDbOpen Lib “libnotes_r.a” Alias “NSFDbOpen” _

( Byval dbName As String, hdb As Integer) As Integer

and I call it with the required parameters. Nothing fancy. Anybody knows if anything has changed regarding the parameters on AIX ?

Subject: NSFDbOpen returns code 0 handler 0

Hi,

Dominio 8.5.2 FP4 64bits

AIX: 6.1

NSFDbOpen returns code 0 and handler 0 in a lotus notes agent that runs on server side.

were you able to find a solution to this? if os, I will really appreciate sharing the solution on this problem.

Thanks

Ivan.