OK... so this stupid problem with Win32 compiles leaving a 20KB
file... this happened because of the alterations I made in trying to
debug that OTHER problem... which turned out to be REALbasic's fault
not mine. This is the "RB2008v4 breaks plugins" problem.
Yeah that one. In trying to work around that problem, that was really
a bug in REALbasic and not my code, it caused a break in my code.
I managed to delete the __declspec(dllexport) around REALpluginMain...
so that caused the library to not export that function. Sigh. Oh well.
So much time wasted. At least my plugin works again though. I've added
3 new utility functions, which is nice :)
One for directly getting a FastString object, to write to any RB
FolderItem. "FolderItem.FastString(erase as boolean=true) as
FastString".
Another lets you read from a file... usually line by line
"FolderItem.ElfDatafields(sep as ElfData=nil) as ElfDataFields".
And another.... well this just lets you erase or replace existing
items from an ElfDataDictionary, while an ElfDataNavigator is still
reading to it.
You can't add values to key that didn't exist yet in the dictionary,
because ElfDataDictionary is tree based, and ElfDataNavigator keeps a
record of where we are in the dictionary... and setting stuff into new
places could alter the data structures in use by ElfDataNavigator,
causing crashes. So... I disallowed that. But it's safe to alter
values on existing keys.
--
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>