Re: .NET AsyncCallback

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Does anybody know how to create a callbacl object in C++

new AsyncCallback(targetObject, &TargetClass::TargetMethod)

where targetObject is an instance of the TargetClass class, or 0 if
it's a static method.


every sample i've
saw over the net is a "new AsyncCallback(MethodPtr)"

That's the C# syntax.


Mattias

--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
.