Hi, Koen > I would also add a: > Factory *getTheFactory(); > > which would then be used by the current WRun() and which simply > returns the sole registered factory (which was linked in) or fails if > multiple or no factories were available.
This is the behaviour of find(string name) if name is empty. I have also added a create(name, ...) function that returns a WServer, and uses find(name) to find the factory. > I am only worried about the cross-platform'ness of ldopen() and co, > especially for MSVC platforms ? On Windows, it may be necessary to implement DllMain(). Could you test my code (link in a previous mail) and see if it works on Windows; I don't have ready access to a Windows installation. If it does, chance is that it will work with Windows's LoadLibrary(). Regards /Lars ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
