GetwwDotNetBridge

Factory method that can be used to create a PUBLIC instance of the wwDotNetBridge class. Use this method instead of explicitly instantiating the class to avoid recreating the .NET object wrapper object each time.

A PUBLIC instance named __DOTNETBRIDGE is created and cached. Calling this function either creates or reuses the existing instance.

NOTE: This is a static FUNCTION not a method of the class:

DO wwDotNetBridge && somewhere to load library loBridge = GetwwDotNetBridge() loBridge.LoadAssembly("FULLPATH('rtfConverter')") loConverter = loBridge.CreateInstance("rtfConverter.rtfConverter") ...


o.GetwwDotNetBridge()

See also:

Class wwDotNetBridge


  Last Updated: 1/17/2008 | © West Wind Technologies, 2008