ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alexander Evseev <wizard@donmetal.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] The Good and the Bad
Date: Fri Jul 20 13:16:12 2001
Message-ID: <E15NWd2-0005aE-00@mail.donmetal.ru> (raw)
In-Reply-To: <200107200748.f6K7m7U07294@whisky.dkn>

Fri, 20 Jul 2001 11:48:07 +0400 (MSD) "Peter V. Saveliev"
<peet@infosite.ru> 
написал по поводу [mdk-re] The Good and the Bad:

PVS> А по поводу виндов и окон:

PVS> ... Все приложения открывают окна ...

PVS> Не знаю, кто это переводил и каким промптом, но все НЕ консольные
PVS> приложения в виндах имеют (обязаны получить перед началом работы)
PVS> хэндлер, идентификатор, если угодно. Приложению не нужно окно,
PVS> ему нужен идентификатор этот, без него нет точки выхода из многих
PVS> системных процедур обратно в код программы, а раз так - и входить
PVS> не дают. Например, пресловутый ExitWindowsExec нельзя вызвать
PVS> из консольного приложения по этой самой причине, а строчка
PVS> rundll.exe user.exe,ExitWindowsExec работает безо всякого окна!
PVS> но с хэндлером.

PVS> Извините за сумбурность изложения. Все это к тому, что не стоит
PVS> устраивать крестовых походов только из идейных соображений. Стоит
PVS> иногда объективно глядеть на вещи, не пользуясь вырванными
PVS> цитатами в качестве аргумента. Хотя по мне так - линух фарева....

Маловато Вы отквотили, правильнее так:

>Все приложения открывают окна. Даже если приложение не выводит ничего
>на экран, ему нужно окно, чтобы получать сообщения от ядра системы.
                                          ^^^^^^^^^
И тогда все становится на свои места: хэндлер приложения и
идентификатор окна - разные вещи. Попробуйте передать сообщение
приложению по его хэндлеру...

--
Александр Евсеев
EAL4-RIPN

Нет мозгов - пользуйся опытом, нет опыта - доверяй!



  reply	other threads:[~2001-07-20 13:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-20 11:33 Peter V. Saveliev
2001-07-20 13:16 ` Alexander Evseev [this message]
2001-07-21  0:12 ` [mdk-re] Re: (JT) " Mikhail Zabaluev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E15NWd2-0005aE-00@mail.donmetal.ru \
    --to=wizard@donmetal.ru \
    --cc=mandrake-russian@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git