1. owen huang
  2. PowerBuilder
  3. Tuesday, 5 April 2022 09:35 AM UTC

When i call a .net assembly which has a winform window , powerbuilder 2021 trigger  a error, error message remind me  must call  setcompatibletextrenderingdefault first, but how to setcompatibletextrenderingdefault  ?  please help me!!

Andreas Mykonios Accepted Answer Pending Moderation
  1. Tuesday, 5 April 2022 09:40 AM UTC
  2. PowerBuilder
  3. # 1

Hi.

How do you call this .net assembly? Are you using .NET DLL Importer (which should not be used for visual objects - classes)? Or are you calling it using COM?

Andreas.

Comment
There are no comments made yet.
owen huang Accepted Answer Pending Moderation
  1. Tuesday, 5 April 2022 10:08 AM UTC
  2. PowerBuilder
  3. # 2

thanks for reply, i have reslove it,  the .net assebmly has problem. 

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 5 April 2022 13:58 PM UTC
  2. PowerBuilder
  3. # 3

Hi Owen;

  FYI:  PB's .NET Assembly feature does not support visual object classes.

Regards ... Chris

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.