Hi,
Sorry for this issue. The GitHub commit that introduced this change is here:
https://github.com/PixInsight/PCL/commit/97e83fd6747bcf5655a4caf395a6109c348c79e9Actually, API version 161 introduces a very minor change that you can revert very easily:
- Open the header file 'include/pcl/api/APIInterface.h' with your code editor.
- Go to line #59 and replace '0x0161' with '0x0160', then save the file.
- Rebuild the PCL library.
Since the change introduced by version 0x161 affects just to a parameter of an API function call
[1], that is, it does not add new API calls, there should be no problems. Just don't call ImageWindow::ForceClose() from your code, since it won't work in the current official version of PixInsight.
BTW, I am about to upload a new version of PCL with very important changes necessary to support the next version of the PixInsight core application, which comes with exciting new features. However, this time I'll create a new branch on the PCL GitHub repository to avoid further problems (yes, this is exactly what I should have done in March, when I committed API v. 0x161
)
Let me know if this works.
[1] Because function arguments are pushed from right to left in C and C++, and the change in v. 0x161 just adds a second parameter to the API function in question. So the original first argument, which the core application expects to find at the top of the stack, continues being there. Sorry for the technicality but it's too nice to be omitted 8)