Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Sun Dec 17, 2017 4:17 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Cross language API.
PostPosted: Thu Oct 11, 2007 10:53 am 
Offline

Joined: Thu Oct 11, 2007 10:40 am
Posts: 2
REALRegisterInterface(&interfaceStruct);
REALRegisterMethod(&methodStruct);
REALRegisterClass(&classStruct);


I've seen examples from the documentation on Plugins to create a reference to a C method and calling it from RB, however, how would one go about calling an RB (your RB application API) method from C?

Peace,
Paul


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Oct 11, 2007 11:55 am 
Offline

Joined: Fri Sep 30, 2005 11:19 am
Posts: 275
I dont remember exactly, but its called something like REALLoadObjectMethod( which takes first the RB object and then a string which is the declaration of the method ) and REALLoadGlobalMethod( which takes first a string that is the modules name and then a string which is the declaration of the method ).

_________________
"If you look carefully at my lips, you'll realize that I'm actually saying something else."
Brainswitch Machina - REALStudio/REALbasic
RBScriptExtender - give RBScript power to work with any class


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Oct 11, 2007 12:08 pm 
Offline

Joined: Thu Oct 11, 2007 10:40 am
Posts: 2
Awesome, I'll research these API calls of RB more throughly, but at least I know the method names now.

Many thanks sir!

Peace,
Paul


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group