= Best practices when coding EwE6 = This page attempts to convey some of the oddities and nasties that we have ran into over the years when building EwE6. == Resources and localization == Theoretically, the EwE6 scientific interface can be localized to any language, although we do not envy the poor soul commissioned to perform such a job. In intention all language-specific elements in EwE should be provided either in localizable forms or in localizable resource tables. The code is not perfect here, and please let us know if you find exceptions. The !ScientificInterfaceShared assembly offers a whack of shared resources, such as strings and images, for plug-ins and the main Scientific Interface to share to reduce the amount of scattered resources that need localizing. In your assembly simply add a statement such as import !ScientificInterfaceShared.My.Resources = !SharedResources, and access all shared resources on the imported !SharedResources thingy. When you develop your own plug-ins with a user interface, please try to stick to the following resource guidelines: * Reuse as many of resources provided in !ScientificInterfaceShared * Set the 'localizable' property of your plug-in's forms to True == Target processor == To date, Microsoft has not updated its Access drivers, the core drivers that EwE6 needs to use its database, to 64-bit. EwE6 and ANY EWE6 PLUG-IN must be compiled at ANY TIME for 32 bit processors. Set all applications to build for x86 processors via: Menu > Build > Configuration Manager > x86 (new if not listed). See [https://sources.ecopath.org:8443/trac/Ecopath/attachment/wiki/ScientficInterfaceKnownCompileErrorsFaq/Configuration%20Manager%20x86.png image]. == Nasty experiences == * Issue [http://sources.ecopath.org/trac/Ecopath/report/702 #702]: always override Dispose(bDisposing) to clean up controls, do not (smartly) use OnHandleDestroyed.