Does anyone know how to call a Windows API function that is defined within a Windows Interface from PowerBuilder?
Specifically, I'm trying to call the ITaskbarList3::SetOverlayIcon API. The normal WinAPI strategy of defining a local external function definition does not work. It compiles, but receives Application Error R0015 "Error calling external function SetOverlayIcon at line nnn in clicked event of object cb_test of w_main." at execution time.
I'm pretty confident I have the proper datatypes for the 3 parameters and valid values, so I suspect this wrinkle of the API being defined as part of an interface is causing the issue.
I'm using PB 2017 R2 Build 1769 on a Windows 7 Ultimate (64-bit) O/S.
TIA,
John Fauss