Change points from LTCustomizer21 LTCustomizer21 for AutoCAD LT reference manual

1. Character code of LTCustomizer21 is from MBCS to UNICODE.

In case of using as C/C++ DLL, parameter of some functions is changed like following codes.
Input of string is changed from "const char*" to "const wchar_t *".
Output of string is changed from "char*" to "BSTR*"
(In case of using as ActiveX, there is not change about string parameter

As expanded specification, LTCustomizer21 is added option parameter that can specify UNICODE start_script, select. Refer to link.
LTCustomizer21 supports UTF8 DXF file supported since AutoCAD2007 or later.

2. Getting of double-precision real uses "ByRef variable_name As Double" as function parameter. Special string of LTCustomizer21 for double-precision real is disused.

set_take_special_double_on_select() is disused. Some functions are changed parameter of functions that return double-precision real and type of function value. Thesefunction are almost get_select..().

3.Specification of init() is changed


1. Return value of init() is not only meaning of  success or fail but also index of CAD LTCustomizer21 could communicate with.
2. Format of  option 'o' (multipurpose option) became only specification of DDE service name because LTCustomizer21 don't use title name of frame window to recognize CAD.

//Example of C/C++ codes
String str;
switch( LTC_init(L"0,R19,''AutoCAD LT.DDE'") ){
    case 0: str = L"Communication failed";break;
    case 1: str= L"Established communication of AutoCAD LT";break;
    case 2: str= L"Established communication of AutoCAD2014";break;;
    case 3: str= L"Established communication of AutoCAD LT using 'o' option";break;
}
MessageBox(NULL,str,L"test app",MB_OK);

CFG file init() read is changed to LTC21.cfg.

This CFG file must put same directory LTCustomizer21 application(exe file) exists.
"RUN=" Formats that can describe in LTC21.cfg are changed to "RUN=CLSID" or "RUN=HKEY.."(registry name) or "RUN=full path AutoCAD LT exists".

Change of certify_user
In case of using as personal user license, first parameter sets false(FALSE). When certify_user() using this parameter is executed, LTCustomizer21 displays dialog box to input registration information

LTCustomizer21 does not support VisualBasic 6.0 if you use as ActiveX

There are functions that changed order of parameters to support default parameter on VisualBasic2010 or later.

6. In case of using as ActiveX, first index number of functions is from 0.

This change adapted specification of VB.NET. This specification is the same as C/C++ language.