From WikiChip
Editing mirc/dynamic-link library
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
This page supports semantic in-text annotations (e.g. "[[Is specified as::World Heritage Site]]") to build structured and queryable content provided by Semantic MediaWiki. For a comprehensive description on how to use annotations or the #ask parser function, please have a look at the getting started, in-text annotation, or inline queries help pages.
Latest revision | Your text | ||
Line 104: | Line 104: | ||
* '''mBeta''' - contains the mIRC $beta version number, for public betas. | * '''mBeta''' - contains the mIRC $beta version number, for public betas. | ||
* '''mBytes''' - as of v7.64 contains the max safe byte length that can be placed into the 'data' and 'parms' buffers. This is always the double of the line length limit even when converting to utf8 with non unicode dll. | * '''mBytes''' - as of v7.64 contains the max safe byte length that can be placed into the 'data' and 'parms' buffers. This is always the double of the line length limit even when converting to utf8 with non unicode dll. | ||
+ | |||
+ | |||
+ | While SendMessage can be used to place a string into the DATA buffer, it has a smaller length limit, which appears to be a character limit separate from a byte limit. Even though the size of the DATA buffer is based on a $maxlenl that's greater than 8192, as of v7.72 using SendMessage to request a string which is longer than 8192 characters results in delivering the null string. But a string having fewer than 8192 characters but more than 8192 bytes is delivered. | ||
== Unloading the Dll == | == Unloading the Dll == |