N
news.microsoft.com
Hi,
I need to send the pointer of a C# method to a native user32.dll method. How
can I do that?
To be specific - the method is SetWindowLong of user32.dll which in VB6 is
being is being called as follows -
glOldWindowProc = SetWindowLong(glWindowHandle, GWL_WNDPROC, AddressOf
WndMessage)
My question pertains to the last parameter - "AddressOf WndMessage" -
WndMessage is a method in a class in VB6.
How do I do the same thing in C#.NET?
Will appreciate any pointers.
Thanks
Vani
I need to send the pointer of a C# method to a native user32.dll method. How
can I do that?
To be specific - the method is SetWindowLong of user32.dll which in VB6 is
being is being called as follows -
glOldWindowProc = SetWindowLong(glWindowHandle, GWL_WNDPROC, AddressOf
WndMessage)
My question pertains to the last parameter - "AddressOf WndMessage" -
WndMessage is a method in a class in VB6.
How do I do the same thing in C#.NET?
Will appreciate any pointers.
Thanks
Vani