CreateEllipticRgnIndirect

Issue #126 resolved
Yeray Alonso created an issue

Hello,

I'm getting this error when trying to use CreateEllipticRgnIndirect function:

  • Compiling for Linux64:
[DCC Error] E2597 C:\Users\norike\Desktop\CreateEllipticRgnIndirect_CrossVCL\Linux64\Debug\Winapi.Windows.o:Winapi.Windows:function Winapi::Windows::CreateEllipticRgnIndirect(System::Types::TRect const&): error: undefined reference to 'CreateEllipticRgnIndirect'
  • On OSX, it compiles but I get this error on the Mac's PAServer console when running:
dyld: lazy symbol binding failed: Symbol not found: CreateEllipticRgnIndirect
  Referenced from: /Users/steema/PAServer/scratch-dir/norike-Mac Office/CreateEllipticRgnIndirect_CrossVCL.app/Contents/MacOS/CreateEllipticRgnIndirect_CrossVCL
  Expected in: /Users/steema/PAServer/scratch-dir/norike-Mac Office/CreateEllipticRgnIndirect_CrossVCL.app/Contents/MacOS/libcrossvcl32.dylib

Comments (7)

  1. Eugene Kryukov repo owner

    How do you use regions ? We didn't implemented HRgn at all, because it is useless on non-windows platform. But if it really important we try to implement it.

  2. Yeray Alonso reporter

    Find here a more complete example. We use these functions to draw gradients in ellipses.
    Please, resize the window to see the ellipse.

    We didn't implemented HRgn at all, because it is useless on non-windows platform

    We'll investigate the other alternatives. Thanks!

  3. Eugene Kryukov repo owner

    Thank you for sample app, didn't notice it before releasing 0.99a. We added limited HRgn support to it. But in this example we have found that PatBlt doesn't work - going to investigate.

  4. Log in to comment