|
Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
D - How to get address of member-function?
Hello everybody! Help me, please.
I try to create Window class (under Win32). As we know we need register window
class with message processing function. We need only simple 32-bit address
(pointer) of that function. I tried to get one in constructor:
this() {
wc.WinProc = &this.MyWinProc;
..
BUT compiler complains that it can't convert from delegate(!!!) to pointer. How
I can obtain it?
Documentation says that even delegate has two parts: object AND address! I want
to take last one :) Thank you!
Aug 15 2005
Thorn wrote:Hello everybody! Help me, please. Aug 16 2005
|