The signature is incomplete...

void graphics_DrawPicture(REALgraphics graphics, REALpicture image, int x, int 
y, int w, int h, int sx, int sy, int ww, int hh)
{
        static void (*_fp)(REALgraphics, REALpicture, int, int, int, int, int, 
int, int, int) = nil;
        if (!_fp)
                _fp = (void(*)(REALgraphics, REALpicture, int, int, int, int, 
int, int, int, 
int))REALLoadObjectMethod((REALobject)graphics,"DrawPicture(Image as Picture, x 
as Integer, y as Integer, w as Integer, h as Integer, sx as Integer = 0, sy as 
Integer = 0, sw as Integer = -10000, sh as Integer = -10000)");
        if (!_fp) {
                _fp = (void(*)(REALgraphics, REALpicture, int, int, int, int, 
int, int, int, int))VHResolver("RuntimeGraphicsDrawPicture");
                MSG(DYNAMIC ACCESS FAILURE in graphics_DrawPicture)
        }
        if (_fp)
                _fp(graphics, image, x,y,w,h, sx,sy,ww,hh);
}

On Dec 15, 2010, at 3:47 PM, Christian Schmitz wrote:

> Hi,
> 
> I need to call drawpicture on a plugin, but
> 
> REALLoadObjectMethod( (REALobject)dest, "DrawPicture( p as Picture, x as 
> Integer, y as Integer, dw as Integer, dh as Integer, sx as Integer, sy as 
> Integer, sw as Integer, sh as Integer )" );
> 
> and
> 
> CallResolver("RuntimeGraphicsDrawPicture");
> 
> both give nil. How to get the draw picture method?
> 
> Greetings
> Christian
> 
> -- 
> See you in Atlanta (USA) at the REAL Studio Summit 2011
> 
> Registration and details here:
> http://arbpmembers.org/real-studio-summit-2011/
> 
> 
> 
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
> 
> Search the archives:
> <http://support.realsoftware.com/listarchives/lists.html>


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to