OLE/COM Automation of WordPerfect Office 2020 and later

1 users found this article helpful

Symptoms:

COM/OLE Automation may not behave as desired in/after WordPerfect 2020

Cause:

The WordPerfect.PerfectScript object is now a legacy object

Resolution:

Use WordPerfect.PerfectScript2. 

The WordPerfect.PerfectScript2 object is largely drop-in compatible at the time of writing this article, however WordPerfect.PerfectScript is being maintained only for backward compatibility. Any new features will only be added to WordPerfect.PerfectScript2.

WordPerfect.PerfectScript2 now adds full enumeration lookup in Visual Studio and allows programmers to skip optional parameters where it was not possible with the older WordPerfect.PerfectScript object.

Was this article helpful?

Tell us how we can improve it.