BcfgEdit - редактор конфигов : Эльфы : Форум

Страница 11 из 48: « 1 ... 7 8 9 10 [11] 12 13 14 15 ... 48 »

 KreN:
05.08.08, 21:21
 Revision: 2405
Author: KreN
Date: 1:00:31, 5 августа 2008 г.
Message:
+Поддержка редактором типа 17 - кейкод
+Обновление примера
----

Revision: 2413
Author: Hussein
Date: 16:00:40, 5 августа 2008 г.
Message:
+выбор типа нажатия (press/release/....) для CFG_KEYCODE, отображение имени клавиши
+Обновление примера
----

Revision: 2417
Author: KreN
Date: 19:00:57, 5 августа 2008 г.
Message:
+отображение режима кнопки
!фикс обработки CFG_KEYCODE
----

Последнюю ревизию можно скачать по приведенным в шапке ссылкам на сайте перка

 jamesbond22:
22.08.08, 11:27
 KreN
How get custom name from bcfg file?


My contects files:

in config_data.h:
Код:
...
extern const char name1[64];
...


in config_data.c:
Код:
...
__root const CFG_HDR cfghdr5={CFG_STR_WIN1251,"word 1",0,63};
__root const char name1[64]="Show";
...


in main.c:
Код:
...
wchar_t names[64];
str2wstr(names,name1);
...


That is wrong. What is wrong?
In exampled main.cpp of BcfgExample elf I not see declarated WIN_TEST.

[ Edited by jamesbond22 в 22.8.08 09:29 ]

 UltraShot:
22.08.08, 11:33
 jamesbond22
your bcfg is 0b-size?

 jamesbond22:
22.08.08, 11:38
 UltraShot
your bcfg is 0b-size?

no.

Not any errors in compiling elf. I will see "Show", but I see "????????<" (strange characters).

[ Edited by jamesbond22 в 22.8.08 09:40 ]

 UltraShot:
22.08.08, 11:42
 CFG_STR_UTF8 2
CFG_UTF8_STRING 10
try to use this types

 jamesbond22:
22.08.08, 11:57
 in config_data.c:
__root const CFG_HDR cfghdr5={CFG_STR_UTF8,"word 1",0,2};
__root const char name1[64]="Show";
then I see wrong characters.

in config_data.c:
__root const CFG_HDR cfghdr5={CFG_UTF8_STRING,"word 1",0,10};
__root const char name1[64]="Show";
then I see wrong characters too.

 BigHercules:
22.08.08, 12:25
 
jamesbond22 пишет:
__root const CFG_HDR cfghdr5={CFG_STR_UTF8,"word 1",0,2};
__root const CFG_HDR cfghdr5={CFG_UTF8_STRING,"word 1",0,10};

The CFG_STR_UTF8 and CFG_UTF8_STRING types are not supported yet by BcfgEdit.

jamesbond22 пишет:
How get custom name from bcfg file?
My contects files:
in config_data.h:
Код:
...
extern const char name1[64];
...

in config_data.c:
Код:
...
__root const CFG_HDR cfghdr5={CFG_STR_WIN1251,"word 1",0,63};
__root const char name1[64]="Show";
...

in main.c:
Код:
...
wchar_t names[64];
str2wstr(names,name1);
...

That is wrong. What is wrong?

Try use win12512unicode function instead of str2wstr. You can find win12512unicode function in BcfgEdit source code.

Or use location2unicode from MiniGPS.

PS. Sorry for my english.

 KreN:
22.08.08, 20:29
 BigHercules
Try use win12512unicode function instead of str2wstr. You can find win12512unicode function in BcfgEdit source code.

If he use only ascii symbols it not needed.

lisaus
Не сохраняет не из за того что есть сетка... И она была с самого начала существования эльфа.

jamesbond22
First variant is correct, but what you doing after converting string?

 KreN:
24.08.08, 22:41
 Revision: 2527
Author: KreN
Date: 13:02:14, 24 августа 2008 г.
Message:
+BcfgEdit поддержка типа CFG_RECT
+обновление примера

Берем там же из шапки, теперь при указании проблемы необходимо указывать используемую ревизию, узнать можно нажав Author в букмене

 68-artem:
07.09.08, 19:44
 Люди скажите пожалуйста когда будет работать данный эльф на W800?
Страница 11 из 48: « 1 ... 7 8 9 10 [11] 12 13 14 15 ... 48 »

URL этой темы:
https://mobilefree.justdanpo.ru/newbb_plus/viewtopic.php?topic_id=3212&start=100

© 2005-2018 supertrubka.org