Hi,
I use PBNI class and try to call GetItemNumber/GetItemDecimal methods of some transferred to c++ DataWindow object reference/ All works just fine until DataWindow's numeric cell contains NULL value. In this case PB crashed when session->InvokeObjectFunction(...) is invoked as from IDE and from standalone EXE module. My PB version 2017 (build 1666). The same result has been received in PB 11.5 so I think that this is a very long PB error.
P.S.:
I use MS VS 2017 (Community Edition) and professional Windows 7 64 bit OS.
I know that you have a strong experience with PBNI and very glad that you have been replied for my message.Before to call a check function such
as IsNull we must get that value, i.e. call GetItem method. But exactly this call crash the PB/PBNI session. A very strange error. The self-titled call in
pure PB works fine, and more, GetItemString, GetItemTime, GetItemDate GetItemDateTime methods are invoked via PBNI without any problem in the
same situation. The ambush with numeric fields only.