yms: (Default)
[personal profile] yms
О том, как всякие программеры, зря копающиеся в недокументированных функциях, затрудняли жизнь разработчикам винды

For example, BOZOSLIVEHERE was originally the window procedure for the edit control, with the rather nondescript name of EditWndProc. Then some people who wanted to use the edit control window procedure decide that GetWindowLong(GWL_WNDPROC) was too much typing, so they linked to EditWndProc directly.
...
Which is why I get particularly furious when people accuse Microsoft of maliciously breaking applications during OS upgrades.

И добро бы что-нибудь полезное выкопали, так нет, просто не хотелось проходить в дверь, поэтому лезли через окно. Романтика...
Я бы на месте мелкомягких менял недокументированные имена и адреса с каждым выходом новой винды и сервиспаком. Чтобы неповадно было лезть куда не надо.

Date: 2004-07-21 09:17 pm (UTC)
From: [identity profile] robinbobin.livejournal.com
a chto im meshaet sdelat' chtoby documenttirovannye functions rabotali kak documanetirovano i deklarirovano....


Win32APi - edinyj api, xe-xe....

odna GetCommandLine() cehgo stoit.

Date: 2004-07-21 11:30 pm (UTC)
From: [identity profile] yms.livejournal.com
А чего там такого в GetCommandLine()?

Убирая комментарии:

LPSTR WINAPI GetCommandLineA(VOID)
{
return (LPSTR)BaseAnsiCommandLine.Buffer;
}

Profile

yms: (Default)
Michael Yutsis

March 2022

S M T W T F S
  12 345
678910 1112
13141516171819
20212223242526
2728293031  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Mar. 24th, 2026 11:07 am
Powered by Dreamwidth Studios