I've looked at REALLoadObjectMethod, but my C skills aren't up to unraveling what its doing.
The sample code for REALLoadObjectMethod shows a variable named globalTCPSocketRef, which I'm assuming was created in the REALnewInstanceWithClass sample. But REALnewInstanceWithClass creates a new object. I don't want to create a new object. I already have the REALgraphics object that I want to draw in that I passed into the plugins function. But if I use my REALgraphics object in the REALLoadObjectMethod I'm told that I cannot convert it into a REALobjectStruct. --Seth On Mon, Nov 22, 2010 at 3:44 PM, Theodore H. Smith <[email protected]> wrote: > > On 22 Nov 2010, at 20:00, [email protected] > wrote: > >> From: Real Basic <[email protected]> >> >>> Have you tried with simply rotating the CGContext and calling REAL Studio's >>> DrawString method? >>> >>> Greetings >>> Christian >> >> Is is possible to call RB's DrawString from within the plugin? I >> looked in the dial sample, but I didn't see anything about calling RB >> functions in there. > > Yes. > > REALLoadObjectMethod I think! If not, then something like that ;) The name is > very similar. Just read up the plugin API HTML files that are in the plugin > SDK that you already downloaded. > > -- > http://elfdata.com/plugin/ > "String processing, done right" > > > > _______________________________________________ > 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>
