On Jan 7, 2010, at 3:23 PM, Bernard Devlin wrote:
I'm kind of confused about how externals are supposed to be registered these days. I ran the Valentina installer, and it made no changes to the Revolution program directories (i.e. it did not add itself to the list of externals in the Externals text file, nor add the drivers to the folder containing database drivers).
3rd party externals are traditionally added to the User Extensions folder. This folder is usually located in your documents folder. This lesson shows how to install an external and shows you how to find the User Extensions folder. I would check there for the Valentina files.
<http://lessons.runrev.com/spaces/lessons/buckets/784/lessons/6347-How-To-Install-3rd-Party-Externals-For-Use-in-the-IDE-and-Standalone-Builder >
After running the V4REV installer on OS X you need to restart Revolution so the externals can load. I have not tested on Windows though.
I got the example stack provided by Paradigma to work by adding the V4Rev.dll file to the external references of the Examples main stack. When it comes to making use of LibDatabase, the only way I could get it to work was by adding V4Rev.dll to the externals of the library). I was getting an error at at the point where LibDatabase calls Valentina_Init. It seems to me that the main stack of an application should be where the externals are set, not in a library stack. I am sure that if LibDatabase required a reference to any relevant externals, Trevor would have said so (he's a thorough kinda guy).
libDatabase relies on the Valentina external being loaded and that the handlers are available in the message path. When working in the IDE the Valentina external should be available in the message path assuming it was loaded at startup (see aforementioned lesson for ways to test).
Now I have no idea if libDatabase will work with Valentina 4. I haven't looked at the libDatabase code in a looooooong time and Valentina 4 was not around when I did work on it. So you are kind of on your own when it comes to troubleshooting actual functionality...
-- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
