I am working on Lotus Notes C API, I have compiled a program which calls “NSFDbOpen” function.
When calling the “NSFDbOpen” function I am checking for the return value. The return value denotes an error and when I expand the error code to error string by using “OSLoadString” I get the following error string.
“Network package has not been initialized”
This behaviour is not consistent as the same piece of code works sometimes and starts throwing the above mentioned error in subsequent executions.
I am stuck now as I have no clue whatsoever why the call fails. Please guide me as to what exactly is causing such behaviour.