Message 1 of 1
Trouble width acedInitGet and acedGetKword

Not applicable
01-10-2020
12:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Good afternoon. The problem is that the acedGetKword function does not return the required keyword. For example, in the attached figure 1, the part understands the keyword 454, although it is initialized as 1. How can I solve this problem? Thank you for your help!
code snippet:
acedInitGet(RSG_NONULL , L"1 2(занято:sqwe21) Все _ 0 1 2");
CString query_string(L"");
query_string.Format(L"Выберете номер жилы для подключения: Жила[%s] <%s>:", L"1/2(занято:sqwe21)/Все", L"Жила1");
TCHAR pszKwd[133];
int stat = acedGetKword(query_string, pszKwd);
if (stat == RTNORM ){
//etc
}