The Common Language Bridge is the heart and soul of the Dynamic Languages Project, making it easy to embed any dynamic language into mIRC script. It can also double as a low level SDK for DLLs that need to interact with mIRC. The CLB currently plays a supporting role in the development of two embedded languages that are part of the Dynamic Languages Project, as well as one shining example of how the CLB can be used in situations that don't involve language embedding.
The CLB gives unprecedented power to DLL commands that need tight integration with mIRC. The CLB improves speed
issues when communicating commands and identifiers to and from mIRC. It also allows the programmer to access
event specific identifiers when a DLL is called from an event. This means that $nick and $chan
don't need to be manually passed to the DLL when writing scripts anymore, simplifying your DLLs API considerably.
Unfortunately, because of all the tight integration with mIRC, the CLB is dependent on the version of mIRC running. This also means that the CLB must explicitly support every version of mIRC released. In situations where the version of mIRC is unsupported, the CLB will fall back to the default SendMessage API common to other DLLs but will lose all of the extra functionality described above. Currently, the CLB supports only mIRC versions 6.3+, though updates of the CLB will usually show up within days of each new release. Compatibility prior to 6.3 is possible in future releases.
Though there is little documentation on the CLB itself, the library including the include files may be downloaded at the top of this page. It is suggested that you also download one of the DLLs in the Dynamic Languages Project that makes use of the CLB to see example usage of each function. If you have any specific questions, please contact me via the email distributed in the license.
All projects made with the CLB are licensed under a BSD-style license, making it free to use, copy, modify and redistribute as long as the license remains attached to the source and binaries. The source code for the CLB library itself is currently unavailable, but will eventually be released under the above license once all the legal issues are sorted out. The CLB is available as a static compiled library with the C header files.
Copyright © 2007 Loren Segal.
mIRC® and its icon are registered trademarks of mIRC Co. Ltd.
The heart icon used above was created by The Wackypixel Co.
I also used icons by Dirceu Veiga at Fasticon.com.