|Real Software Forums
|Need Dictionary, Collection, and Date in Plugin...
|Page 1 of 1|
|Author:||FPN7670 [ Sun Feb 24, 2013 3:14 pm ]|
|Post subject:||Need Dictionary, Collection, and Date in Plugin...|
My plugin (a Module) needs to create, (manipulate in some cases), and return the following types/classes:
... The Plugin SDK covers Strings, Arrays, MemoryBlocks, and numeric types, but I'm not seeing anything about Dictionaries, Collections, or Dates.
How do I create, manipulate, and return instances of those 3 classes (Dictionary, Collection, and Date) from a plugin?
I can see from some of the MBS Plugins that Dictionary and Date objects can be used/created in RB Plugins:
(Date) http://www.monkeybreadsoftware.net/basi ... thod.shtml
(Dictionary) http://monkeybreadsoftware.net/new-game ... vent.shtml
(plus many other examples from the MBS Plugin suite)
So, the question is: **how** is this being done when there is no mention of Dictionary or Date objects in the Plugin SDK?
|Author:||FPN7670 [ Sun Feb 24, 2013 6:32 pm ]|
|Post subject:||Re: Need Dictionary, Collection, and Date in Plugin...|
Just found this:
http://docs.realsoftware.com/index.php/ ... _Reference
REALclassRef dictionaryclass = REALGetClassRef("Dictionary");
REALobject dictionary = REALnewInstanceWithClass(dictionaryclass);
|Page 1 of 1||All times are UTC - 5 hours|
|Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group