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!!

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 5 April 2022 13:58 PM UTC
  2. PowerBuilder
  3. # 1

Hi Owen;

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

Regards ... Chris

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.
Andreas Mykonios Accepted Answer Pending Moderation
  1. Tuesday, 5 April 2022 09:40 AM UTC
  2. PowerBuilder
  3. # 3

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.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.