Windows error 0x00000287, 647

Detailed Error Information

FAILED_DRIVER_ENTRY[1]

MessageThe driver was not loaded because it failed its initialization call.
Declared inwinerror.h

This appears to be a raw Win32 error. More information may be available in error 0x80070287.

HRESULT analysis[2]

This is probably not the correct interpretation of this error. The Win32 error above is more likely to indicate the actual problem.
FlagsSeveritySuccess

This code indicates success, rather than an error. This may not be the correct interpretation of this code, or possibly the program is handling errors incorrectly.

Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode0 (0x000)
NameFACILITY_NULL[2][1]
DescriptionThe default facility code.[2][1]
Error Code647 (0x0287)

Possible solutions

1

LotusScript call to NSFItemInfoNext on Domino 64 bit server crashes server

64bit
lotus-domino
lotus

I would suggest to change ItemBlockID to Double instead of using a structure. You do not use this structure anyway (for anything else than passing in the next call).

Declare Function W64_NSFItemInfo Lib LIB_W32 Alias "NSFItemInfo" (ByVal noteHandle As Long, ByVal itemName As String, ByVal nameLength As Integer, itemBlockID As Double, valueDataType As Integer, valueBlockID As BLOCKID64, valueLength As Long) As Integer

Declare Function W64_NSFItemInfoNext Lib LIB_W32 Alias "NSFItemInfoNext" (ByVal noteHandle As Long, ByVal prevItemBlockIDDbl As  As Double, ByVal itemName As String, ByVal nameLength As Integer, itemBlockID As BLOCKID64, valueDatatype As Integer, valueBlockID As BLOCKID64, valueLength As Long) As Integer

About the question if anybody got problems using with 64-bit API calls from LotusScript - I'd be surprised if anybody has managed to "go all the way". For example once you get the items, you might want to read the content... I'm still stuck on that one :-/ I thought I have figured it out... but where is that code :-)

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0