Can anyone with experience with iText7 help me...
I have created a console app to sign pdf which works ok.
When I create a class library project to consume with PowerBuilder and I get the following error:
The type initializer for 'iText.IO.Util.ResourceUtil' threw an exception.
In the PowerBuilder example I posted (the updated one) you can run the app without problems using Roland Smith's runandwait object.
However, if you try to import the generated dll, the exception that I mentioned at the beginning of this thread is thrown.
As a curiosity, the exception you mention, if you test the project in Visual Studio 2022 instead of SnapDevelo 2022, it doesn't jump.
Andreas.
Regards,
Ramón.