Article View: pl.comp.tlumaczenia
Article #7178Re: Thunk i thunking
From: Marcin Bulandra
Date: Thu, 03 Nov 2005 22:25
Date: Thu, 03 Nov 2005 22:25
20 lines
2330 bytes
2330 bytes
"Mateusz Łoskot" <mateusz@loskot.net> wrote in message news:1130336737.603462.40030@f14g2000cwb.googlegroups.com... > "The window procedure is called StartWindowProc and is defined as a > static function. C++ static functions cannot directly call instance > member functions (how could they decide which of the potentially many > instances to call?), but this is exactly what we want our window > procedure to do. To get around this, the idea of thunking is used." > > Więc, co się kryje po naszemu za "the idea of thunking"? Gogle na zapytanie thunk "C++" wypłuły stronę, na której thunk tłumaczone jest jako łącznik, i też dotyczy wywołania metody statycznej (wirtualnej). http://www.intercon.pl/~sektor/cbx/advanced/addons.html akapity 3 i 2 od końca -- Pozdrawiam, MBu
Technical Details
Message-ID:
<dke32k$9vp$1@nemesis.news.tpi.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.onet.pl!fargo.cgs.poznan.pl!chlor.kofeina.net!not-for-mailReferences:
<1130336737.603462.40030@f14g2000cwb.googlegroups.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.onet.pl!fargo.cgs.poznan.pl!chlor.kofeina.net!not-for-mail From: "Marcin Bulandra" <marcin.usun@to.bulandra.net> Newsgroups: pl.comp.tlumaczenia Subject: Re: Thunk i thunking Date: Thu, 3 Nov 2005 23:25:59 +0100 Organization: tp.internet - http://www.tpi.pl/ Lines: 20 Sender: Jaroslaw Hirny <agnus@hell.pl> Approved: usenet+pl.comp.tlumaczenia@kofeina.net Message-ID: <dke32k$9vp$1@nemesis.news.tpi.pl> References: <1130336737.603462.40030@f14g2000cwb.googlegroups.com> NNTP-Posting-Host: chlor.kofeina.net Mime-Version: 1.0 X-Trace: chlor.kofeina.net 1131083624 1240 194.114.145.51 (4 Nov 2005 05:53:44 GMT) X-Complaints-To: usenet@kofeina.net NNTP-Posting-Date: Fri, 4 Nov 2005 05:53:44 +0000 (UTC) Return-Path: <agnus@hell.pl> X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 User-Agent: Hamster-Pg/1.22.2.0 X-Virus-Scanned: amavisd-new at mimuw.edu.pl X-Virus-Scanned: amavisd-new at kofeina.net X-Bogosity: No, tests=bogofilter, spamicity=0.000000, version=0.15.11 X-NNTP-Posting-Host: sarge.bbsoft.com.pl X-Path: not-for-mail X-NNTP-Posting-Date: Thu, 3 Nov 2005 22:30:44 +0000 (UTC) X-Moderator: Jaroslaw Hirny <agnus@hell.pl> X-Moder-Tool: 2005-09-30 X-X-Trace: nemesis.news.tpi.pl 1131057044 10233 80.55.176.142 (3 Nov 2005 22:30:44 GMT) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit