Hussain -
I seem to recall having seen a note from Appeon about arguments passed to/from external DLL's in PB 2022, stating that the datatype checking was now going to be more stringently enforced due to PB using a newer version of the C++ compiler under the covers, but I cannot find the reference to this statement.
Assuming for a moment this is true, it is entirely possible for an external function declaration (EFD) that worked in PB 2021 and earlier to no longer work in PB 2022.
You have not yet provided the requested EFD(s) being used to interface with QRCodeGenLibrary.dll... there is no EFD referencing a DLL having this name in the reply to Chris you posted earlier. If you would please show us the EFD(s) to this DLL, we might be able to suggest some corrections for you to try.
It would also be very helpful if you can provide some documentation from the vendor that describes the API function(s) you are calling, so that we can make every attempt to supply those function(s) with the proper PB arguments.
Best regards, John
I have not ound any source in C or c#