> Lotus Notes API functions creating hang problem.
Lotus Notes API functions (work very well; you are) creating hang problem...
We nee a lot more information in order to help you, maybe even the complete application, because the origin of the problem could very well be somewhere else. C is notorious for producing strange results when the coding is not exactly right.
What more info can you give us?
If that's not what you want, can you reduce the problem, i.e. can you create a very small test program that hangs?