Re: Пакет pocketpc-gcc и программирование под WinCE
Вот получил ответ от разработчиков eTcl, некоторые важные вопросы решены.
Поскольку официальной документации пока нет, публикую письмо здесь.
Hi,
> - Is it possible to get PDA serial number in eTcl? Or I must write c++
> wrapper and send serial number to eTcl application as command line argument?
>
Up to now, it is not available in pure Tcl (while on some device, it is
available as a registry entry). But this sounds to me as a good
candidate for addition to wce subcommand. So expect a "wce deviceid"
command in next release :-)
> - How set "X" button to close application and how define if application is
> run foreground in case of secondary running?
>
>
[X] on WinCE should actually be understood as [_] (iconify). This is the
way MS designed the OS behavior, and eTcl conform to it. Catching [X] to
actually exit application (or destroy toplevel) is a matter of binding
the exit/destroy command to icofinication.
eTcl 1.0-rc15 should be out before the end of the week. It fixes a
serious issue with cp1251 input in Tk, which may be of big interest to
you. If I have time to also add the devideid subcommand, I will let you
know.
Best regards,
Eric
Reply to: