Migrating my 3rd party CAPI app to 64bit Domino 8.5.1 on Windows2008 crashes with ‘PANIC: LookupHandle: handle out of range’.The app does a NSFItemInfo (which works) followed by NSFItemInfoNext which crashes.
I’ve single-stepped thru the code (using visual Studio 2008) and can find nothing wrong.
we also have a similar problem with NSFItemInfo on Windows 64Bit with Domino64 (8.5 and 8.5.1).
We read with NSFItemInfo the item_blockid (and the other values). The item_blockid.block is not changed on Win64/Domino 8.5 (64Bit); compared with the value before. With Win32/Domino-7 (32Bit) it works fine. Than the Domino64 on Win64 also crashes with “handle out of range”.
It seems to me like a bug in the library of Domino64. Is there a solution available (bug fix or something like that)?
Is there a linker switch that maybe resolves this issue since the first guy on this thread mentions that switching to Intel Compiler resolved the problem. There must be some setting in MS compiler to help prevent this.
If you are compiling a 64bit application with Microsoft compiler check out the below parameters and link. You will not find a whole lot of documentation on this but these parameters resolved this issue. Basically the invalid handle from leads to the invalid blockid that ultimately causes problem with NSFItemQuery().